diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-29 08:21:20 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-06-29 08:21:20 -0400 |
commit | de1bf10690570477f5d8cd126b30f81300c1376a (patch) | |
tree | 4284e193477cb203b418fb44ccd8c2f69aefb252 /src/commands.cpp | |
parent | 950cfcd31e4f05d63b24fbce391a69a5f0b59dec (diff) |
Missed OCDing over src/protocol/*, plus fixed a minor lack of braces and fixed Config to work in an out-of-source build.
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 4eec6cd61..7396968c4 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -141,7 +141,9 @@ void mod_run_cmd(BotInfo *bi, User *u, Command *c, const ci::string &command, co ret = c->Execute(u, params); if (ret == MOD_CONT) + { FOREACH_MOD(I_OnPostCommand, OnPostCommand(u, c->service, c->name.c_str(), params)); + } } /** |