diff options
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r-- | src/command_parse.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 1545c8e1b..5cc85a2a3 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -386,7 +386,10 @@ void CommandParser::ProcessCommand(userrec *user, std::string &cmd) */ CmdResult result = cm->second->Handle(command_p,items,user); - FOREACH_MOD(I_OnPostCommand,OnPostCommand(command, command_p, items, user, result)); + if (result != CMD_USER_DELETED) + { + FOREACH_MOD(I_OnPostCommand,OnPostCommand(command, command_p, items, user, result)); + } return; } else |