diff options
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index f1614b772..8d1436f7a 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -940,6 +940,7 @@ void handle_quit(char **parameters, int pcnt, userrec *user) if (user->registered == 7) { purge_empty_chans(user); } + delete user; } void handle_who(char **parameters, int pcnt, userrec *user) @@ -2055,6 +2056,7 @@ void handle_Q(char token,char* params,serverrec* source,serverrec* reply, char* { purge_empty_chans(user); } + delete user; } } |