diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/messages.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/messages.c b/src/messages.c index 6972dd116..62b986267 100644 --- a/src/messages.c +++ b/src/messages.c @@ -138,9 +138,12 @@ int m_privmsg(char *source, char *receiver, char *msg) } if (*receiver == '#') { - if (s_BotServ && (ci = cs_findchan(receiver))) - if (!(ci->flags & CI_VERBOTEN) && ci->c && ci->bi) /* Some paranoia checks */ + if (s_BotServ && (ci = cs_findchan(receiver))) { + /* Some paranoia checks */ + if (!(ci->flags & CI_VERBOTEN) && ci->c && ci->bi) { botchanmsgs(u, ci, msg); + } + } } else { /* Check if we should ignore. Operators always get through. */ |