mirror of
https://github.com/anope/anope.git
synced 2026-07-06 02:33:13 +02:00
BUILD : 1.7.15 (1148) BUGS : 588 NOTES : Added SASET AUTOOP to NickServ to match SET AUTOOP
git-svn-id: svn://svn.anope.org/anope/trunk@1148 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@871 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
3d5e804ca1
commit
f5ab326d07
@@ -1,6 +1,7 @@
|
||||
Anope Version S V N
|
||||
--------------------
|
||||
Provided by Anope Dev. <dev@anope.org> - 2006
|
||||
09/10 A Added SASET AUTOOP to NickServ to match SET AUTOOP. [#588]
|
||||
08/09 F Fixed port checking when using command line switches. [#575]
|
||||
08/14 F Fixed db_mysql_query for better robustness. [#585]
|
||||
08/27 F Fixed mod_current_module being incorrect resulting in segfault. [#593]
|
||||
|
||||
+18
@@ -661,6 +661,15 @@ NICK_SASET_NOEXPIRE_ON
|
||||
NICK_SASET_NOEXPIRE_OFF
|
||||
Nick %s will expire.
|
||||
|
||||
# ACCESS responses
|
||||
NICK_SASET_AUTOOP_SYNTAX
|
||||
SASET nickname AUTOOP {ON | OFF}
|
||||
NICK_SASET_AUTOOP_ON
|
||||
Services will now autoop %s in channels.
|
||||
NICK_SASET_AUTOOP_OFF
|
||||
Services will no longer autoop %s in channels.
|
||||
|
||||
|
||||
# ACCESS responses
|
||||
NICK_ACCESS_SYNTAX
|
||||
ACCESS {ADD | DEL | LIST} [mascara]
|
||||
@@ -3914,6 +3923,15 @@ NICK_HELP_SASET_NOEXPIRE
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_SASET_AUTOOP
|
||||
Syntax: SASET nickname AUTOOP {ON | OFF}
|
||||
|
||||
Sets whether the given nickname will be opped automatically.
|
||||
Set to ON to allow ChanServ to op you automatically when joining
|
||||
channels.
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_RECOVER
|
||||
Sintaxis: RECOVER nickname [clau]
|
||||
|
||||
|
||||
@@ -677,6 +677,15 @@ NICK_SASET_NOEXPIRE_ON
|
||||
NICK_SASET_NOEXPIRE_OFF
|
||||
Nickname %s wird wieder verfallen.
|
||||
|
||||
# ACCESS responses
|
||||
NICK_SASET_AUTOOP_SYNTAX
|
||||
SASET nickname AUTOOP {ON | OFF}
|
||||
NICK_SASET_AUTOOP_ON
|
||||
Services will now autoop %s in channels.
|
||||
NICK_SASET_AUTOOP_OFF
|
||||
Services will no longer autoop %s in channels.
|
||||
|
||||
|
||||
# ACCESS responses
|
||||
NICK_ACCESS_SYNTAX
|
||||
ACCESS {ADD | DEL | LIST} [Maske]
|
||||
@@ -3935,6 +3944,15 @@ NICK_HELP_SASET_NOEXPIRE
|
||||
|
||||
Beschränkt auf Services Admins.
|
||||
|
||||
NICK_HELP_SASET_AUTOOP
|
||||
Syntax: SASET nickname AUTOOP {ON | OFF}
|
||||
|
||||
Sets whether the given nickname will be opped automatically.
|
||||
Set to ON to allow ChanServ to op you automatically when joining
|
||||
channels.
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_RECOVER
|
||||
Syntax: RECOVER Nickname [Passwort]
|
||||
|
||||
|
||||
@@ -652,6 +652,15 @@ NICK_SASET_NOEXPIRE_ON
|
||||
NICK_SASET_NOEXPIRE_OFF
|
||||
Nick %s will expire.
|
||||
|
||||
# SASET AUTOOP responses
|
||||
NICK_SASET_AUTOOP_SYNTAX
|
||||
SASET nickname AUTOOP {ON | OFF}
|
||||
NICK_SASET_AUTOOP_ON
|
||||
Services will now autoop %s in channels.
|
||||
NICK_SASET_AUTOOP_OFF
|
||||
Services will no longer autoop %s in channels.
|
||||
|
||||
|
||||
# ACCESS responses
|
||||
NICK_ACCESS_SYNTAX
|
||||
ACCESS {ADD | DEL | LIST} [mask]
|
||||
@@ -3655,6 +3664,7 @@ NICK_HELP_SASET
|
||||
HIDE Hide certain pieces of nickname information
|
||||
MSG Change the communication method of Services
|
||||
NOEXPIRE Prevent the nickname from expiring
|
||||
AUTOOP Turn autoop on or off
|
||||
|
||||
Type %R%S HELP SASET option for more information
|
||||
on a specific option. The options will be set on the given
|
||||
@@ -3784,6 +3794,15 @@ NICK_HELP_SASET_NOEXPIRE
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_SASET_AUTOOP
|
||||
Syntax: SASET nickname AUTOOP {ON | OFF}
|
||||
|
||||
Sets whether the given nickname will be opped automatically.
|
||||
Set to ON to allow ChanServ to op you automatically when joining
|
||||
channels.
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_RECOVER
|
||||
Syntax: RECOVER nickname [password]
|
||||
|
||||
|
||||
@@ -665,6 +665,15 @@ NICK_SASET_NOEXPIRE_ON
|
||||
NICK_SASET_NOEXPIRE_OFF
|
||||
Nick %s will expire.
|
||||
|
||||
# ACCESS responses
|
||||
NICK_SASET_AUTOOP_SYNTAX
|
||||
SASET nickname AUTOOP {ON | OFF}
|
||||
NICK_SASET_AUTOOP_ON
|
||||
Services will now autoop %s in channels.
|
||||
NICK_SASET_AUTOOP_OFF
|
||||
Services will no longer autoop %s in channels.
|
||||
|
||||
|
||||
# ACCESS responses
|
||||
NICK_ACCESS_SYNTAX
|
||||
ACCESS {ADD | DEL | LIST} [mascara]
|
||||
@@ -3888,6 +3897,15 @@ NICK_HELP_SASET_NOEXPIRE
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_SASET_AUTOOP
|
||||
Syntax: SASET nickname AUTOOP {ON | OFF}
|
||||
|
||||
Sets whether the given nickname will be opped automatically.
|
||||
Set to ON to allow ChanServ to op you automatically when joining
|
||||
channels.
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_RECOVER
|
||||
Sintaxis: RECOVER nickname [clave]
|
||||
|
||||
|
||||
@@ -671,6 +671,15 @@ NICK_SASET_NOEXPIRE_ON
|
||||
NICK_SASET_NOEXPIRE_OFF
|
||||
Le pseudo %s expirera.
|
||||
|
||||
# ACCESS responses
|
||||
NICK_SASET_AUTOOP_SYNTAX
|
||||
SASET nickname AUTOOP {ON | OFF}
|
||||
NICK_SASET_AUTOOP_ON
|
||||
Services will now autoop %s in channels.
|
||||
NICK_SASET_AUTOOP_OFF
|
||||
Services will no longer autoop %s in channels.
|
||||
|
||||
|
||||
# ACCESS responses
|
||||
NICK_ACCESS_SYNTAX
|
||||
ACCESS {ADD | DEL | LIST} [mask]
|
||||
@@ -3951,6 +3960,15 @@ NICK_HELP_SASET_NOEXPIRE
|
||||
|
||||
Limité aux Services admins.
|
||||
|
||||
NICK_HELP_SASET_AUTOOP
|
||||
Syntax: SASET nickname AUTOOP {ON | OFF}
|
||||
|
||||
Sets whether the given nickname will be opped automatically.
|
||||
Set to ON to allow ChanServ to op you automatically when joining
|
||||
channels.
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_RECOVER
|
||||
Syntaxe: RECOVER pseudo [motdepasse]
|
||||
|
||||
|
||||
@@ -659,6 +659,15 @@ NICK_SASET_NOEXPIRE_ON
|
||||
NICK_SASET_NOEXPIRE_OFF
|
||||
Nick %s will expire.
|
||||
|
||||
# ACCESS responses
|
||||
NICK_SASET_AUTOOP_SYNTAX
|
||||
SASET nickname AUTOOP {ON | OFF}
|
||||
NICK_SASET_AUTOOP_ON
|
||||
Services will now autoop %s in channels.
|
||||
NICK_SASET_AUTOOP_OFF
|
||||
Services will no longer autoop %s in channels.
|
||||
|
||||
|
||||
# ACCESS responses
|
||||
NICK_ACCESS_SYNTAX
|
||||
ACCESS {ADD | DEL | LIST} [mask]
|
||||
@@ -3914,6 +3923,15 @@ NICK_HELP_SASET_NOEXPIRE
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_SASET_AUTOOP
|
||||
Syntax: SASET nickname AUTOOP {ON | OFF}
|
||||
|
||||
Sets whether the given nickname will be opped automatically.
|
||||
Set to ON to allow ChanServ to op you automatically when joining
|
||||
channels.
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_RECOVER
|
||||
Óýíôáîç: RECOVER nickname [password]
|
||||
|
||||
|
||||
+18
@@ -658,6 +658,15 @@ NICK_SASET_NOEXPIRE_ON
|
||||
NICK_SASET_NOEXPIRE_OFF
|
||||
Nick %s will expire.
|
||||
|
||||
# ACCESS responses
|
||||
NICK_SASET_AUTOOP_SYNTAX
|
||||
SASET nickname AUTOOP {ON | OFF}
|
||||
NICK_SASET_AUTOOP_ON
|
||||
Services will now autoop %s in channels.
|
||||
NICK_SASET_AUTOOP_OFF
|
||||
Services will no longer autoop %s in channels.
|
||||
|
||||
|
||||
# ACCESS responses
|
||||
NICK_ACCESS_SYNTAX
|
||||
ACCESS {ADD | DEL | LIST} [maszk]
|
||||
@@ -3836,6 +3845,15 @@ NICK_HELP_SASET_NOEXPIRE
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_SASET_AUTOOP
|
||||
Syntax: SASET nickname AUTOOP {ON | OFF}
|
||||
|
||||
Sets whether the given nickname will be opped automatically.
|
||||
Set to ON to allow ChanServ to op you automatically when joining
|
||||
channels.
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_RECOVER
|
||||
Syntax: RECOVER nicknév [jelszó]
|
||||
|
||||
|
||||
@@ -654,6 +654,15 @@ NICK_SASET_NOEXPIRE_ON
|
||||
NICK_SASET_NOEXPIRE_OFF
|
||||
Il nick %s scadrà.
|
||||
|
||||
# ACCESS responses
|
||||
NICK_SASET_AUTOOP_SYNTAX
|
||||
SASET nickname AUTOOP {ON | OFF}
|
||||
NICK_SASET_AUTOOP_ON
|
||||
Services will now autoop %s in channels.
|
||||
NICK_SASET_AUTOOP_OFF
|
||||
Services will no longer autoop %s in channels.
|
||||
|
||||
|
||||
# ACCESS responses
|
||||
NICK_ACCESS_SYNTAX
|
||||
ACCESS {ADD | DEL | LIST} [mask]
|
||||
@@ -3798,6 +3807,15 @@ NICK_HELP_SASET_NOEXPIRE
|
||||
|
||||
Limitato ai Services admins.
|
||||
|
||||
NICK_HELP_SASET_AUTOOP
|
||||
Syntax: SASET nickname AUTOOP {ON | OFF}
|
||||
|
||||
Sets whether the given nickname will be opped automatically.
|
||||
Set to ON to allow ChanServ to op you automatically when joining
|
||||
channels.
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_RECOVER
|
||||
Sintassi: RECOVER nick [password]
|
||||
|
||||
|
||||
@@ -663,6 +663,15 @@ NICK_SASET_NOEXPIRE_ON
|
||||
NICK_SASET_NOEXPIRE_OFF
|
||||
Nick %s will expire.
|
||||
|
||||
# ACCESS responses
|
||||
NICK_SASET_AUTOOP_SYNTAX
|
||||
SASET nickname AUTOOP {ON | OFF}
|
||||
NICK_SASET_AUTOOP_ON
|
||||
Services will now autoop %s in channels.
|
||||
NICK_SASET_AUTOOP_OFF
|
||||
Services will no longer autoop %s in channels.
|
||||
|
||||
|
||||
# ACCESS responses
|
||||
NICK_ACCESS_SYNTAX
|
||||
ACCESS {ADD | DEL | LIST} [mask]
|
||||
@@ -3864,6 +3873,15 @@ NICK_HELP_SASET_NOEXPIRE
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_SASET_AUTOOP
|
||||
Syntax: SASET nickname AUTOOP {ON | OFF}
|
||||
|
||||
Sets whether the given nickname will be opped automatically.
|
||||
Set to ON to allow ChanServ to op you automatically when joining
|
||||
channels.
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_RECOVER
|
||||
Gebruik: RECOVER nick [wachtwoord]
|
||||
|
||||
|
||||
@@ -710,6 +710,15 @@ NICK_SASET_NOEXPIRE_ON
|
||||
NICK_SASET_NOEXPIRE_OFF
|
||||
Nick %s will expire.
|
||||
|
||||
# ACCESS responses
|
||||
NICK_SASET_AUTOOP_SYNTAX
|
||||
SASET nickname AUTOOP {ON | OFF}
|
||||
NICK_SASET_AUTOOP_ON
|
||||
Services will now autoop %s in channels.
|
||||
NICK_SASET_AUTOOP_OFF
|
||||
Services will no longer autoop %s in channels.
|
||||
|
||||
|
||||
# ACCESS responses
|
||||
NICK_ACCESS_SYNTAX
|
||||
ACCESS {ADD | DEL | LIST} [maska]
|
||||
@@ -4094,6 +4103,15 @@ NICK_HELP_SASET_NOEXPIRE
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_SASET_AUTOOP
|
||||
Syntax: SASET nickname AUTOOP {ON | OFF}
|
||||
|
||||
Sets whether the given nickname will be opped automatically.
|
||||
Set to ON to allow ChanServ to op you automatically when joining
|
||||
channels.
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_RECOVER
|
||||
Sk³adnia: RECOVER nick [has³o]
|
||||
|
||||
|
||||
@@ -665,6 +665,15 @@ NICK_SASET_NOEXPIRE_ON
|
||||
NICK_SASET_NOEXPIRE_OFF
|
||||
Nick %s will expire.
|
||||
|
||||
# ACCESS responses
|
||||
NICK_SASET_AUTOOP_SYNTAX
|
||||
SASET nickname AUTOOP {ON | OFF}
|
||||
NICK_SASET_AUTOOP_ON
|
||||
Services will now autoop %s in channels.
|
||||
NICK_SASET_AUTOOP_OFF
|
||||
Services will no longer autoop %s in channels.
|
||||
|
||||
|
||||
# ACCESS responses
|
||||
NICK_ACCESS_SYNTAX
|
||||
ACCESS {ADD | DEL | LIST} [máscara]
|
||||
@@ -3817,6 +3826,15 @@ NICK_HELP_SASET_NOEXPIRE
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_SASET_AUTOOP
|
||||
Syntax: SASET nickname AUTOOP {ON | OFF}
|
||||
|
||||
Sets whether the given nickname will be opped automatically.
|
||||
Set to ON to allow ChanServ to op you automatically when joining
|
||||
channels.
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_RECOVER
|
||||
Sintaxe: RECOVER nick [senha]
|
||||
|
||||
|
||||
@@ -659,6 +659,15 @@ NICK_SASET_NOEXPIRE_ON
|
||||
NICK_SASET_NOEXPIRE_OFF
|
||||
Nick %s will expire.
|
||||
|
||||
# ACCESS responses
|
||||
NICK_SASET_AUTOOP_SYNTAX
|
||||
SASET nickname AUTOOP {ON | OFF}
|
||||
NICK_SASET_AUTOOP_ON
|
||||
Services will now autoop %s in channels.
|
||||
NICK_SASET_AUTOOP_OFF
|
||||
Services will no longer autoop %s in channels.
|
||||
|
||||
|
||||
# ACCESS responses
|
||||
NICK_ACCESS_SYNTAX
|
||||
ACCESS {ADD | DEL | LIST} [mask]
|
||||
@@ -3845,6 +3854,15 @@ NICK_HELP_SASET_NOEXPIRE
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_SASET_AUTOOP
|
||||
Syntax: SASET nickname AUTOOP {ON | OFF}
|
||||
|
||||
Sets whether the given nickname will be opped automatically.
|
||||
Set to ON to allow ChanServ to op you automatically when joining
|
||||
channels.
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_RECOVER
|
||||
Ñèíòàêñèñ: RECOVER íèê [ïàðîëü]
|
||||
|
||||
|
||||
@@ -666,6 +666,15 @@ NICK_SASET_NOEXPIRE_ON
|
||||
NICK_SASET_NOEXPIRE_OFF
|
||||
Nick %s will expire.
|
||||
|
||||
# ACCESS responses
|
||||
NICK_SASET_AUTOOP_SYNTAX
|
||||
SASET nickname AUTOOP {ON | OFF}
|
||||
NICK_SASET_AUTOOP_ON
|
||||
Services will now autoop %s in channels.
|
||||
NICK_SASET_AUTOOP_OFF
|
||||
Services will no longer autoop %s in channels.
|
||||
|
||||
|
||||
# ACCESS responses
|
||||
NICK_ACCESS_SYNTAX
|
||||
ACCESS {ADD | DEL | LIST} [mask]
|
||||
@@ -3908,6 +3917,15 @@ NICK_HELP_SASET_NOEXPIRE
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_SASET_AUTOOP
|
||||
Syntax: SASET nickname AUTOOP {ON | OFF}
|
||||
|
||||
Sets whether the given nickname will be opped automatically.
|
||||
Set to ON to allow ChanServ to op you automatically when joining
|
||||
channels.
|
||||
|
||||
Limited to Services admins.
|
||||
|
||||
NICK_HELP_RECOVER
|
||||
Kullanýmý: RECOVER nick [þifre]
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@ int do_saset_private(User * u, NickCore * nc, char *param);
|
||||
int do_saset_msg(User * u, NickCore * nc, char *param);
|
||||
int do_saset_hide(User * u, NickCore * nc, char *param);
|
||||
int do_saset_noexpire(User * u, NickAlias * nc, char *param);
|
||||
int do_saset_autoop(User * u, NickCore * nc, char *param);
|
||||
void myNickServHelp(User * u);
|
||||
|
||||
/**
|
||||
@@ -87,6 +88,10 @@ int AnopeInit(int argc, char **argv)
|
||||
-1, NICK_HELP_SASET_NOEXPIRE,
|
||||
NICK_HELP_SASET_NOEXPIRE);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
c = createCommand("SASET AUTOOP", NULL, is_services_admin, -1, -1,
|
||||
-1, NICK_HELP_SASET_AUTOOP,
|
||||
NICK_HELP_SASET_AUTOOP);
|
||||
moduleAddCommand(NICKSERV, c, MOD_UNIQUE);
|
||||
|
||||
moduleSetNickHelp(myNickServHelp);
|
||||
|
||||
@@ -175,6 +180,8 @@ int do_saset(User * u)
|
||||
do_saset_hide(u, na->nc, param);
|
||||
} else if (stricmp(cmd, "NOEXPIRE") == 0) {
|
||||
do_saset_noexpire(u, na, param);
|
||||
} else if (stricmp(cmd, "AUTOOP") == 0) {
|
||||
do_saset_autoop(u, na->nc, param);
|
||||
} else {
|
||||
notice_lang(s_NickServ, u, NICK_SASET_UNKNOWN_OPTION, cmd);
|
||||
}
|
||||
@@ -485,4 +492,20 @@ int do_saset_noexpire(User * u, NickAlias * na, char *param)
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
int do_saset_autoop(User * u, NickCore * nc, char *param)
|
||||
{
|
||||
if (stricmp(param, "ON") == 0) {
|
||||
nc->flags &= ~NI_AUTOOP;
|
||||
notice_lang(s_NickServ, u, NICK_SASET_AUTOOP_ON, nc->display);
|
||||
} else if (stricmp(param, "OFF") == 0) {
|
||||
nc->flags |= NI_AUTOOP;
|
||||
notice_lang(s_NickServ, u, NICK_SASET_AUTOOP_OFF, nc->display);
|
||||
} else {
|
||||
syntax_error(s_NickServ, u, "SET AUTOOP", NICK_SASET_AUTOOP_SYNTAX);
|
||||
}
|
||||
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
||||
+5
-1
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="15"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="1147"
|
||||
VERSION_BUILD="1148"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.15 (1148)
|
||||
# BUGS : 588
|
||||
# NOTES : Added SASET AUTOOP to NickServ to match SET AUTOOP
|
||||
#
|
||||
# BUILD : 1.7.15 (1147)
|
||||
# BUGS : 587
|
||||
# NOTES : Fixed missing help for /ns SET AUTOOP
|
||||
|
||||
Reference in New Issue
Block a user