mirror of
https://github.com/anope/anope.git
synced 2026-07-01 16:06:38 +02:00
Fixed bug #1099 and #1100 - Show services opers /chanserv help (un)suspend and /nickserv help (un)suspend
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2471 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -33,12 +33,14 @@ int AnopeInit(int argc, char **argv)
|
||||
moduleAddVersion("$Id$");
|
||||
moduleSetType(CORE);
|
||||
|
||||
c = createCommand("SUSPEND", do_suspend, is_services_oper, -1, -1, -1,
|
||||
c = createCommand("SUSPEND", do_suspend, is_services_oper, -1, -1,
|
||||
CHAN_SERVADMIN_HELP_SUSPEND,
|
||||
CHAN_SERVADMIN_HELP_SUSPEND,
|
||||
CHAN_SERVADMIN_HELP_SUSPEND);
|
||||
moduleAddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("UNSUSPEND", do_unsuspend, is_services_oper, -1, -1,
|
||||
-1, CHAN_SERVADMIN_HELP_UNSUSPEND,
|
||||
CHAN_SERVADMIN_HELP_UNSUSPEND,
|
||||
CHAN_SERVADMIN_HELP_UNSUSPEND,
|
||||
CHAN_SERVADMIN_HELP_UNSUSPEND);
|
||||
moduleAddCommand(CHANSERV, c, MOD_UNIQUE);
|
||||
|
||||
|
||||
@@ -33,12 +33,14 @@ int AnopeInit(int argc, char **argv)
|
||||
moduleAddVersion("$Id$");
|
||||
moduleSetType(CORE);
|
||||
|
||||
c = createCommand("SUSPEND", do_suspend, is_services_oper, -1, -1, -1,
|
||||
c = createCommand("SUSPEND", do_suspend, is_services_oper, -1, -1,
|
||||
NICK_SERVADMIN_HELP_SUSPEND,
|
||||
NICK_SERVADMIN_HELP_SUSPEND,
|
||||
NICK_SERVADMIN_HELP_SUSPEND);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("UNSUSPEND", do_unsuspend, is_services_oper, -1, -1,
|
||||
-1, NICK_SERVADMIN_HELP_UNSUSPEND,
|
||||
NICK_SERVADMIN_HELP_UNSUSPEND,
|
||||
NICK_SERVADMIN_HELP_UNSUSPEND,
|
||||
NICK_SERVADMIN_HELP_UNSUSPEND);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
|
||||
+2
-1
@@ -9,9 +9,10 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="8"
|
||||
VERSION_PATCH="2"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="2448"
|
||||
VERSION_BUILD="2471"
|
||||
|
||||
# $Log$ # Changes since 1.8.2 Release
|
||||
#Revision 2471 - Fixed a bug in help to show /chanserv help (un)suspend and /nickserv help (un)suspend to services operators
|
||||
#Revision 2448 - Updated Turkish language file
|
||||
#Revision 2406 - Fixed possible segfault introduced by TS6 fix in rev. 2401.
|
||||
#Revision 2402 - Fixed do_server() so it doesn't go nuts if a SID is the source. Added some sanity checks and debug output as well.
|
||||
|
||||
Reference in New Issue
Block a user