mirror of
https://github.com/anope/anope.git
synced 2026-07-03 20:23:13 +02:00
Fixed a few SASET help replies to reply to services opers, and fixed the rest to not reply to anyone who requests help
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2727 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+13
-14
@@ -51,48 +51,47 @@ int AnopeInit(int argc, char **argv)
|
||||
NICK_HELP_SASET, NICK_HELP_SASET, NICK_HELP_SASET);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET DISPLAY", NULL, is_services_oper,
|
||||
NICK_HELP_SASET_DISPLAY, -1, -1, -1, -1);
|
||||
-1, -1, NICK_HELP_SASET_DISPLAY, NICK_HELP_SASET_DISPLAY, NICK_HELP_SASET_DISPLAY);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET PASSWORD", NULL, is_services_oper,
|
||||
NICK_HELP_SASET_PASSWORD, -1, -1, -1, -1);
|
||||
-1, -1, NICK_HELP_SASET_PASSWORD, NICK_HELP_SASET_PASSWORD, NICK_HELP_SASET_PASSWORD);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET URL", NULL, is_services_oper,
|
||||
NICK_HELP_SASET_URL, -1, -1, -1, -1);
|
||||
-1, -1, NICK_HELP_SASET_URL, NICK_HELP_SASET_URL, NICK_HELP_SASET_URL);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET EMAIL", NULL, is_services_oper,
|
||||
NICK_HELP_SASET_EMAIL, -1, -1, -1, -1);
|
||||
-1, -1, NICK_HELP_SASET_EMAIL, NICK_HELP_SASET_EMAIL, NICK_HELP_SASET_EMAIL);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET ICQ", NULL, is_services_oper,
|
||||
NICK_HELP_SASET_ICQ, -1, -1, -1, -1);
|
||||
-1, -1, NICK_HELP_SASET_ICQ, NICK_HELP_SASET_ICQ, NICK_HELP_SASET_ICQ);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET GREET", NULL, is_services_oper,
|
||||
NICK_HELP_SASET_GREET, -1, -1, -1, -1);
|
||||
-1, -1, NICK_HELP_SASET_GREET, NICK_HELP_SASET_GREET, NICK_HELP_SASET_GREET);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET KILL", NULL, is_services_oper,
|
||||
NICK_HELP_SASET_KILL, -1, -1, -1, -1);
|
||||
-1, -1, NICK_HELP_SASET_KILL, NICK_HELP_SASET_KILL, NICK_HELP_SASET_KILL);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET SECURE", NULL, is_services_oper,
|
||||
NICK_HELP_SASET_SECURE, -1, -1, -1, -1);
|
||||
-1, -1, NICK_HELP_SASET_SECURE, NICK_HELP_SASET_SECURE, NICK_HELP_SASET_SECURE);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET PRIVATE", NULL, is_services_oper,
|
||||
NICK_HELP_SASET_PRIVATE, -1, -1, -1, -1);
|
||||
-1, -1, NICK_HELP_SASET_PRIVATE, NICK_HELP_SASET_PRIVATE, NICK_HELP_SASET_PRIVATE);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET MSG", NULL, is_services_oper,
|
||||
NICK_HELP_SASET_MSG, -1, -1, -1, -1);
|
||||
-1, -1, NICK_HELP_SASET_MSG, NICK_HELP_SASET_MSG, NICK_HELP_SASET_MSG);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET HIDE", NULL, is_services_oper,
|
||||
NICK_HELP_SASET_HIDE, -1, -1, -1, -1);
|
||||
-1, -1, NICK_HELP_SASET_HIDE, NICK_HELP_SASET_HIDE, NICK_HELP_SASET_HIDE);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET NOEXPIRE", NULL, is_services_oper, -1, -1,
|
||||
NICK_HELP_SASET_NOEXPIRE, NICK_HELP_SASET_NOEXPIRE,
|
||||
NICK_HELP_SASET_NOEXPIRE);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET AUTOOP", NULL, is_services_oper, -1, -1,
|
||||
-1, NICK_HELP_SASET_AUTOOP,
|
||||
NICK_HELP_SASET_AUTOOP);
|
||||
NICK_HELP_SASET_AUTOOP, NICK_HELP_SASET_AUTOOP, NICK_HELP_SASET_AUTOOP);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET LANGUAGE", NULL, is_services_oper,
|
||||
-1, -1, -1, -1, NICK_HELP_SASET_LANGUAGE);
|
||||
-1, -1, NICK_HELP_SASET_LANGUAGE, NICK_HELP_SASET_LANGUAGE, NICK_HELP_SASET_LANGUAGE);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
|
||||
+3
-2
@@ -9,10 +9,11 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="8"
|
||||
VERSION_PATCH="2"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="2726"
|
||||
VERSION_BUILD="2727"
|
||||
|
||||
# $Log$ # Changes since 1.8.2 Release
|
||||
#Revosion 2726 - Fixed help system to use notice_help instead of notice_lang (bug from r2473)
|
||||
#Revision 2727 - Fixed a few SASET help replies to reply to services opers, and fixed the rest to not reply to anyone who requests help
|
||||
#Revision 2726 - Fixed help system to use notice_help instead of notice_lang (bug from r2473)
|
||||
#Revision 2712 - Fixed loading of nickcore access lists from SQL to always set nickcores accesscount to the real amount of entries
|
||||
#Revision 2679 - Fixed bug #1106 - Anope now keeps track of users cloaked hosts as well as virtual host and will use both in matching for things
|
||||
#Revision 2671 - Fix bug #1114. Fixed a bug in cs_clear caused by do_cmode() modifying params passed to it. Also fixed some warnings in cs_xop.
|
||||
|
||||
Reference in New Issue
Block a user