diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-27 11:50:16 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-27 11:50:16 +0000 |
commit | 978e8de69f1f5303bf9d9b24f764d890d73c927f (patch) | |
tree | 1c584849a6d4d0a77911f1cbd3fda68a01f361e8 /src/commands.cpp | |
parent | eb04595b0b184f0593ca85af04f4f074cd2f69d2 (diff) |
Optimized stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1212 e03df62e-2008-0410-955e-edbf42e46eb7
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; } } |