Skip to content

Commit

Permalink
Fixed bug #1099 and #1100 - Show services opers /chanserv help (un)su…
Browse files Browse the repository at this point in the history
…spend and /nickserv help (un)suspend

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2471 5417fbe8-f217-4b02-8779-1006273d7864
  • Loading branch information
adam- committed Aug 25, 2009
1 parent ef8db98 commit 4897cdf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions src/core/cs_suspend.c
Expand Up @@ -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);

Expand Down
6 changes: 4 additions & 2 deletions src/core/ns_suspend.c
Expand Up @@ -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);

Expand Down
3 changes: 2 additions & 1 deletion version.log
Expand Up @@ -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.
Expand Down

0 comments on commit 4897cdf

Please sign in to comment.