diff options
author | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-10-21 19:58:47 +0000 |
---|---|---|
committer | trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-10-21 19:58:47 +0000 |
commit | 5f8650327760f547f354065ea468aed813ee5646 (patch) | |
tree | 1931a629b3974a44e29723f804d10c123c53409f /src | |
parent | 5b565cd77c4d2cdb71ac04824412afe0ff5a4325 (diff) |
BUILD : 1.7.5 (412) BUGS : 169 NOTES : A minor touch up to prevent issues
git-svn-id: svn://svn.anope.org/anope/trunk@412 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@276 5417fbe8-f217-4b02-8779-1006273d7864
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. */ |