1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 09:46:40 +02:00

Fix kick reason in cs_suspend and cs_forbid if no reason is given

This commit is contained in:
Adam
2013-08-16 14:51:58 -04:00
parent eab5abb351
commit d24ae1f961
4 changed files with 5 additions and 3 deletions
+1
View File
@@ -2,6 +2,7 @@ Anope Version 1.8 - GIT
-------------------
06/05 F Fixed modules being loaded regardless of the load abort signal. [#1527]
08/16 F Fixed hs_request to show requested ident in memos [#1545]
08/16 F Fix kick reason in cs_suspend/cs_forbid if no reason is given [#1544]
Provided by Michael Wobst - 2013
05/25 U Update Hybrid protocol module to support Hybrid 8.1
+1 -1
View File
@@ -137,7 +137,7 @@ static int do_forbid(User * u)
av[0] = c->name;
av[1] = cu->user->nick;
av[2] = reason ? reason : "CHAN_FORBID_REASON";
av[2] = reason ? reason : getstring(cu->user->na, CHAN_FORBID_REASON);
anope_cmd_kick(s_ChanServ, av[0], av[1], av[2]);
do_kick(s_ChanServ, 3, av);
}
+1 -1
View File
@@ -127,7 +127,7 @@ static int do_suspend(User * u)
av[0] = c->name;
av[1] = cu->user->nick;
av[2] = reason ? reason : "CHAN_SUSPEND_REASON";
av[2] = reason ? reason : getstring(cu->user->na, CHAN_SUSPEND_REASON);
anope_cmd_kick(s_ChanServ, av[0], av[1], av[2]);
do_kick(s_ChanServ, 3, av);
}
+2 -1
View File
@@ -8,9 +8,10 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="9"
VERSION_EXTRA="-git"
VERSION_BUILD="3124"
VERSION_BUILD="3125"
# Changes since 1.8.8 Release
#Revision 3125 - Fix kick reason in cs_suspend and cs_forbid if no reason is given
#Revision 3124 - hs_request: Improve logging of new vhost requests
#Revision 3120 - Fix many memory leaks and valgrind warnings, see pull request #15
#Revision 3119 - Fix not deleting the old server entry when juping existing servers on Unreal