diff options
Diffstat (limited to 'src/botserv.c')
-rw-r--r-- | src/botserv.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/botserv.c b/src/botserv.c index 9eddfe685..32c56ca45 100644 --- a/src/botserv.c +++ b/src/botserv.c @@ -116,6 +116,10 @@ void botmsgs(User * u, BotInfo * bi, char *buf) } ircdproto->SendCTCP(bi, u->nick, "PING %s", s); } + else if (cmd && bi->cmdTable) + { + mod_run_cmd(bi->nick, u, bi->cmdTable, cmd); + } } /*************************************************************************/ |