1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 03:03:13 +02:00

Fix bug #1036, patch from Adam, correct the kick reason used when a channel is forbidden or suspended without a reason.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2214 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
cyberbotx
2009-03-28 16:22:49 +00:00
parent 7ec6b68e84
commit 007b73e5a9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ class CommandCSForbid : public Command
av[0] = c->name;
av[1] = cu->user->nick;
av[2] = reason ? reason : "CHAN_FORBID_REASON";
av[2] = reason ? reason : getstring(cu->user->nc, CHAN_FORBID_REASON);
ircdproto->SendKick(findbot(s_ChanServ), av[0], av[1], av[2]);
do_kick(s_ChanServ, 3, av);
}
+1 -1
View File
@@ -89,7 +89,7 @@ class CommandCSSuspend : public Command
av[0] = c->name;
av[1] = cu->user->nick;
av[2] = reason ? reason : "CHAN_SUSPEND_REASON";
av[2] = reason ? reason : getstring(cu->user->nc, CHAN_SUSPEND_REASON);
ircdproto->SendKick(findbot(s_ChanServ), av[0], av[1], av[2]);
do_kick(s_ChanServ, 3, av);
}