diff options
| author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-14 16:32:24 +0000 |
|---|---|---|
| committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-14 16:32:24 +0000 |
| commit | 2923c21db77d5bbf51830ff6505281f81fdac920 (patch) | |
| tree | d69163616dbe5ff5504cf020c62345085f11ebd3 /src/botserv.c | |
| parent | 521ce2e0f7f95f5abeff464a56426e5b74368f61 (diff) | |
BUILD : 1.7.22 (1440) BUGS : NOTES : Anope 1.7.22 release
git-svn-id: svn://svn.anope.org/anope/trunk@1440 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1155 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/botserv.c')
| -rw-r--r-- | src/botserv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/botserv.c b/src/botserv.c index f8eea632e..ed5af558d 100644 --- a/src/botserv.c +++ b/src/botserv.c @@ -782,8 +782,10 @@ void bot_join(ChannelInfo * ci) for (ban = ci->c->bans->entries; ban; ban = next) { next = ban->next; - if (entry_match(ban, ci->bi->nick, ci->bi->user, ci->bi->host, 0)) { - anope_cmd_mode(whosends(ci), ci->name, "-b %s", ban->mask); + if (entry_match + (ban, ci->bi->nick, ci->bi->user, ci->bi->host, 0)) { + anope_cmd_mode(whosends(ci), ci->name, "-b %s", + ban->mask); if (ircdcap->tsmode) av[3] = ban->mask; else |
