diff options
| author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-12-30 17:21:37 +0000 |
|---|---|---|
| committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-12-30 17:21:37 +0000 |
| commit | 327d27183fef9b5d64c0adc8d8703e68e0388f7e (patch) | |
| tree | 68f96372c944f0b0b877ad5d64f73d752489fa9d /src/botserv.c | |
| parent | fa67b03616335679feb56235bf8961e85ba71685 (diff) | |
BUILD : 1.7.17 (1213) BUGS : 651 653 NOTES : Fixed channel joins being logged twice in debug mode on some IRCds and BotServ incorrectly attempting to remove bans with BSSmartJoin
git-svn-id: svn://svn.anope.org/anope/trunk@1213 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@932 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/botserv.c')
| -rw-r--r-- | src/botserv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/botserv.c b/src/botserv.c index ae02dfd42..1b6f98eb0 100644 --- a/src/botserv.c +++ b/src/botserv.c @@ -776,7 +776,8 @@ void bot_join(ChannelInfo * ci) av[1] = sstrdup("-b"); for (i = 0; i < count; i++) { if (match_wild_nocase(ci->c->bans[i], botmask)) { - anope_cmd_mode(ci->bi->nick, ci->name, "%s", bans[i]); + anope_cmd_mode(ci->bi->nick, ci->name, "-b %s", + bans[i]); av[2] = sstrdup(bans[i]); do_cmode(ci->bi->nick, 3, av); free(av[2]); |
