summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgeniusdex 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
committergeniusdex 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
commit327d27183fef9b5d64c0adc8d8703e68e0388f7e (patch)
tree68f96372c944f0b0b877ad5d64f73d752489fa9d /src
parentfa67b03616335679feb56235bf8961e85ba71685 (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')
-rw-r--r--src/botserv.c3
-rw-r--r--src/channels.c2
2 files changed, 2 insertions, 3 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]);
diff --git a/src/channels.c b/src/channels.c
index 7df6c2089..3d7f8487f 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -525,8 +525,6 @@ void do_join(const char *source, int ac, char **av)
t = s + strcspn(s, ",");
if (*t)
*t++ = 0;
- if (debug)
- alog("debug: %s joins %s", source, s);
if (*s == '0') {
c = user->chans;