mirror of
https://github.com/anope/anope.git
synced 2026-07-10 12:23:14 +02:00
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
This commit is contained in:
parent
fa67b03616
commit
327d27183f
+2
-1
@@ -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]);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user