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

Bug #1213 - Fixed /cs enforce #channel to say SET was enforced not (null)

This commit is contained in:
Adam
2010-12-15 12:10:36 -05:00
parent 2b7dd6c2a0
commit 13688c595b
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -1,5 +1,6 @@
Anope Version 1.8 - GIT
-----------------------
12/15 F Fixed /cs enforce #channel to say SET was enforced not (null) [#1213]
Anope Version 1.8.5
-------------------
+1 -1
View File
@@ -221,7 +221,7 @@ int my_cs_enforce(User * u)
what = myStrGetToken(cur_buffer, ' ', 1);
if (!what || (stricmp(what, "SET") == 0)) {
do_enforce_set(c);
moduleNoticeLang(s_ChanServ,u,LNG_CHAN_RESPONSE,what);
moduleNoticeLang(s_ChanServ,u,LNG_CHAN_RESPONSE, what ? what : "SET");
} else if (stricmp(what, "MODES") == 0) {
do_enforce_modes(c);
moduleNoticeLang(s_ChanServ,u,LNG_CHAN_RESPONSE,what);
+2 -1
View File
@@ -8,9 +8,10 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="5"
VERSION_EXTRA="-git"
VERSION_BUILD="3047"
VERSION_BUILD="3048"
# $Log$ # Changes since 1.8.5 Release
#Revision 3048 - Bug #1213 - Fixed /cs enforce #channel to say SET was enforced not (null)
#Revision 3047 - Fixed some warnings found by cppcheck
#Revision 3046 - Fixed bug #1202 - Made Anope aware of plexus3's channel mode +z
#Revision 3045 - Fixed some improper english in the HOST_GROUP language strings