mirror of
https://github.com/anope/anope.git
synced 2026-07-05 20:33:13 +02:00
BUILD : 1.7.14 (1082) BUGS : 423 NOTES : Moved ns_noop into core, its now a /ns set option.
git-svn-id: svn://svn.anope.org/anope/trunk@1082 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@806 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
b79837538f
commit
9d4d4e7287
@@ -7,6 +7,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006
|
||||
06/22 A Support startup flag. [ #00]
|
||||
06/21 A Module version check. [ #00]
|
||||
06/25 A Optional strict privmsg format. [ #00]
|
||||
07/10 A Moved ns_noop into core and assigned an NI_ flag. [#423]
|
||||
04/08 F Fixed Charybdis support on win32. [#487]
|
||||
04/08 F Fixed thread stuff on windows. [#488]
|
||||
04/08 F Fixed SGLine stuff on inspircd (not supported). [#489]
|
||||
|
||||
@@ -16,9 +16,19 @@ Anope Version S V N
|
||||
|
||||
NSResendDelay 90s
|
||||
|
||||
NSDefAutoop
|
||||
|
||||
** MODIFIED CONFIGURATION DIRECTIVES **
|
||||
ModuleDelayedAutoload "cs_appendtopic cs_enforce ns_maxemail os_info hs_request"
|
||||
|
||||
** DELETED CONFIGURATION DIRECTIVES **
|
||||
# NSAutoOPDBName [OPTIONAL]
|
||||
# Module: ns_noop
|
||||
#
|
||||
# Use the given filename as database for the autoop list. If not given,
|
||||
# the default of "autoop.db" will be used.
|
||||
#
|
||||
#NSAutoOPDBName "autoop.db"
|
||||
|
||||
Anope Version 1.7.14
|
||||
--------------------
|
||||
|
||||
+4
-1
@@ -2,9 +2,12 @@ Anope Version S V N
|
||||
--------------------
|
||||
*** New Strings:
|
||||
INVALID_TARGET
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
NICK_SET_AUTOOP_ON
|
||||
NICK_SET_AUTOOP_OFF
|
||||
|
||||
*** Mod Strings:
|
||||
|
||||
NICK_HELP_SET
|
||||
*** Del Strings:
|
||||
|
||||
Anope Version 1.7.14
|
||||
|
||||
+2
-9
@@ -714,6 +714,7 @@ NSDefHideUsermask
|
||||
#NSDefMsg
|
||||
NSDefMemoSignon
|
||||
NSDefMemoReceive
|
||||
NSDefAutoop
|
||||
|
||||
# NSDefLanguage <language-number> [REQUIRED]
|
||||
# Sets the default language non- and newly-registered will receive
|
||||
@@ -1554,7 +1555,7 @@ OSOpersOnly
|
||||
# loaded. Feel free to change this if you want to add more, or remove some
|
||||
# from the list.
|
||||
#
|
||||
ModuleDelayedAutoload "cs_appendtopic cs_enforce ns_maxemail ns_noop os_info hs_request"
|
||||
ModuleDelayedAutoload "cs_appendtopic cs_enforce ns_maxemail os_info hs_request"
|
||||
|
||||
###########################################################################
|
||||
#
|
||||
@@ -1576,14 +1577,6 @@ ModuleDelayedAutoload "cs_appendtopic cs_enforce ns_maxemail ns_noop os_info hs_
|
||||
#
|
||||
#NSEmailMax 1
|
||||
|
||||
# NSAutoOPDBName [OPTIONAL]
|
||||
# Module: ns_noop
|
||||
#
|
||||
# Use the given filename as database for the autoop list. If not given,
|
||||
# the default of "autoop.db" will be used.
|
||||
#
|
||||
#NSAutoOPDBName "autoop.db"
|
||||
|
||||
# OSInfoDBName [OPTIONAL]
|
||||
# Module: os_info
|
||||
#
|
||||
|
||||
@@ -1242,6 +1242,7 @@ typedef struct ircd_modes_ {
|
||||
#define NI_MEMO_MAIL 0x00010000 /* User gets email on memo */
|
||||
#define NI_HIDE_STATUS 0x00020000 /* Don't show services access status */
|
||||
#define NI_SUSPENDED 0x00040000 /* Nickname is suspended */
|
||||
#define NI_AUTOOP 0x00080000 /* Autoop nickname in channels */
|
||||
/* Languages. Never insert anything in the middle of this list, or
|
||||
* everybody will start getting the wrong language! If you want to change
|
||||
* the order the languages are displayed in for NickServ HELP SET LANGUAGE,
|
||||
|
||||
@@ -531,6 +531,14 @@ NICK_SET_MSG_ON
|
||||
NICK_SET_MSG_OFF
|
||||
Els serveis et respondran ara amb noticies.
|
||||
|
||||
# SET AUTOOP responses
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
SET AUTOOP {ON | OFF}
|
||||
NICK_SET_AUTOOP_ON
|
||||
Services will now autoop you in channels.
|
||||
NICK_SET_AUTOOP_OFF
|
||||
Services will no longer autoop you in channels.
|
||||
|
||||
# SET NOEXPIRE responses
|
||||
NICK_SASET_SYNTAX
|
||||
SASET nickname option parameters
|
||||
@@ -3636,6 +3644,7 @@ NICK_HELP_SET
|
||||
HIDE Oculta algunes parts de la teva informació
|
||||
MSG canvia el metode de comunicació amb els
|
||||
serveis
|
||||
AUTOOP Should services op you automatically.
|
||||
|
||||
Per utilitzar aquest comanda, has d'identificar-te primer
|
||||
utilitzant la teva clau (/msg %S HELP IDENTIFY
|
||||
|
||||
@@ -547,6 +547,14 @@ NICK_SET_MSG_ON
|
||||
NICK_SET_MSG_OFF
|
||||
Die Services werden dir jetzt durch notices antworten.
|
||||
|
||||
# SET AUTOOP responses
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
SET AUTOOP {ON | OFF}
|
||||
NICK_SET_AUTOOP_ON
|
||||
Services will now autoop you in channels.
|
||||
NICK_SET_AUTOOP_OFF
|
||||
Services will no longer autoop you in channels.
|
||||
|
||||
# SET NOEXPIRE responses
|
||||
NICK_SASET_SYNTAX
|
||||
SASET nickname option parameters
|
||||
@@ -3623,6 +3631,7 @@ NICK_HELP_SET
|
||||
auf der Liste von /msg %S LIST
|
||||
HIDE Versteckt bestimmte Informationen deines
|
||||
Nicknamens
|
||||
AUTOOP Should services op you automatically.
|
||||
|
||||
Wenn du eines dieser Optionen nutzen willst, musst du dich
|
||||
vorher identifizeren.
|
||||
|
||||
@@ -521,6 +521,15 @@ NICK_SET_MSG_ON
|
||||
NICK_SET_MSG_OFF
|
||||
Services will now reply to you with notices.
|
||||
|
||||
# SET AUTOOP responses
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
SET AUTOOP {ON | OFF}
|
||||
NICK_SET_AUTOOP_ON
|
||||
Services will now autoop you in channels.
|
||||
NICK_SET_AUTOOP_OFF
|
||||
Services will no longer autoop you in channels.
|
||||
|
||||
|
||||
# SASET responses
|
||||
NICK_SASET_SYNTAX
|
||||
SASET nickname option parameters
|
||||
@@ -3507,6 +3516,7 @@ NICK_HELP_SET
|
||||
/msg %S LIST
|
||||
HIDE Hide certain pieces of nickname information
|
||||
MSG Change the communication method of Services
|
||||
AUTOOP Should services op you automatically.
|
||||
|
||||
In order to use this command, you must first identify
|
||||
with your password (/msg %S HELP IDENTIFY for more
|
||||
|
||||
@@ -535,6 +535,14 @@ NICK_SET_MSG_ON
|
||||
NICK_SET_MSG_OFF
|
||||
Los servicios te responderan ahora con noticias.
|
||||
|
||||
# SET AUTOOP responses
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
SET AUTOOP {ON | OFF}
|
||||
NICK_SET_AUTOOP_ON
|
||||
Services will now autoop you in channels.
|
||||
NICK_SET_AUTOOP_OFF
|
||||
Services will no longer autoop you in channels.
|
||||
|
||||
# SET NOEXPIRE responses
|
||||
NICK_SASET_SYNTAX
|
||||
SASET nickname option parameters
|
||||
@@ -3610,6 +3618,7 @@ NICK_HELP_SET
|
||||
HIDE Esconde algunas partes de tu informacion
|
||||
MSG Cambia el metodo de comunicacion con
|
||||
Servicios
|
||||
AUTOOP Should services op you automatically.
|
||||
|
||||
Para usar este comando, debes primero identificarte con
|
||||
Servicios usando tu clave (/msg %S HELP IDENTIFY
|
||||
|
||||
@@ -537,6 +537,15 @@ NICK_SET_MSG_ON
|
||||
NICK_SET_MSG_OFF
|
||||
Les services vous repondrons avec des notice.
|
||||
|
||||
# SET AUTOOP responses
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
SET AUTOOP {ON | OFF}
|
||||
NICK_SET_AUTOOP_ON
|
||||
Services will now autoop you in channels.
|
||||
NICK_SET_AUTOOP_OFF
|
||||
Services will no longer autoop you in channels.
|
||||
|
||||
|
||||
# SET NOEXPIRE responses
|
||||
NICK_SASET_SYNTAX
|
||||
SASET pseudo option paramètres
|
||||
@@ -3672,6 +3681,7 @@ NICK_HELP_SET
|
||||
/msg %S LIST
|
||||
HIDE Cache certaines parties des informations du pseudo
|
||||
MSG Change le mode de communication des Services
|
||||
AUTOOP Should services op you automatically.
|
||||
|
||||
Pour utiliser cette commande, vous devez d'abord vous
|
||||
identifier avec votre mot de passe (/msg %S HELP
|
||||
|
||||
@@ -529,6 +529,14 @@ NICK_SET_MSG_ON
|
||||
NICK_SET_MSG_OFF
|
||||
Ïé õðçñåóßåò èá óå åéäïðïéïýí ìå notices.
|
||||
|
||||
# SET AUTOOP responses
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
SET AUTOOP {ON | OFF}
|
||||
NICK_SET_AUTOOP_ON
|
||||
Services will now autoop you in channels.
|
||||
NICK_SET_AUTOOP_OFF
|
||||
Services will no longer autoop you in channels.
|
||||
|
||||
# SET NOEXPIRE responses
|
||||
NICK_SASET_SYNTAX
|
||||
SASET nickname option parameters
|
||||
@@ -3631,6 +3639,7 @@ NICK_HELP_SET
|
||||
ìå ôçí åíôïëÞ /msg %S LIST
|
||||
HIDE Áðïêñýðôåé óõãêåêñéìÝíá ôìÞìáôá ðëçñïöïñéþí ôïõ øåõäùíýìïõ
|
||||
MSG ÁëëÜæåé ôçí ìÝèïäï åðéêïéíùíßáò ìå ôéò õðçñåóßåò
|
||||
AUTOOP Should services op you automatically.
|
||||
|
||||
Ãéá íá ÷ñçóéìïðïéÞóåôå áõôÞ ôçí åíôïëÞ, ðñÝðåé ðñþôá íá
|
||||
áíáãíùñéóôåßôå ìå ôïí êùäéêü óáò (ãéá ðåñéóóüôåñåò ðëçñïöïñßåò,
|
||||
|
||||
@@ -528,6 +528,14 @@ NICK_SET_MSG_ON
|
||||
NICK_SET_MSG_OFF
|
||||
A szervíz újra notice-t küld a válaszoknál.
|
||||
|
||||
# SET AUTOOP responses
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
SET AUTOOP {ON | OFF}
|
||||
NICK_SET_AUTOOP_ON
|
||||
Services will now autoop you in channels.
|
||||
NICK_SET_AUTOOP_OFF
|
||||
Services will no longer autoop you in channels.
|
||||
|
||||
# SET NOEXPIRE válaszok
|
||||
NICK_SASET_SYNTAX
|
||||
SASET nickname option parameters
|
||||
@@ -3558,6 +3566,7 @@ NICK_HELP_SET
|
||||
PRIVATE A nickneved /msg %S LIST -ból való elrejtése
|
||||
HIDE A nicknévhez tartozó információk elrejtése
|
||||
MSG Megváltoztatja a szervízzel való kommunikációt
|
||||
AUTOOP Should services op you automatically.
|
||||
|
||||
Ezen parancs kiadása elõtt, azonositanod kell magad, mint
|
||||
a nick tulajdonosa az IDENTIFY parancsot használva, írd
|
||||
|
||||
@@ -524,6 +524,14 @@ NICK_SET_MSG_ON
|
||||
NICK_SET_MSG_OFF
|
||||
I servizi ora ti risponderanno per mezzo di notice.
|
||||
|
||||
# SET AUTOOP responses
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
SET AUTOOP {ON | OFF}
|
||||
NICK_SET_AUTOOP_ON
|
||||
Services will now autoop you in channels.
|
||||
NICK_SET_AUTOOP_OFF
|
||||
Services will no longer autoop you in channels.
|
||||
|
||||
# SET NOEXPIRE responses
|
||||
NICK_SASET_SYNTAX
|
||||
SASET nickname opzione parametri
|
||||
@@ -3525,6 +3533,7 @@ NICK_HELP_SET
|
||||
PRIVATE Nasconde il nick dalla lista (/msg %S LIST)
|
||||
SECURE Attiva o disattiva la sicurezza
|
||||
URL Associa un URL al tuo nick
|
||||
AUTOOP Should services op you automatically.
|
||||
|
||||
Per usare questo comando, devi prima identificarti con
|
||||
la tua password (digita /msg %S HELP IDENTIFY per
|
||||
|
||||
@@ -532,6 +532,15 @@ NICK_SET_MSG_ON
|
||||
NICK_SET_MSG_OFF
|
||||
Services zullen je nu beantwoorden met notices.
|
||||
|
||||
# SET AUTOOP responses
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
SET AUTOOP {ON | OFF}
|
||||
NICK_SET_AUTOOP_ON
|
||||
Services will now autoop you in channels.
|
||||
NICK_SET_AUTOOP_OFF
|
||||
Services will no longer autoop you in channels.
|
||||
|
||||
|
||||
# SET NOEXPIRE responses
|
||||
NICK_SASET_SYNTAX
|
||||
SASET nickname option parameters
|
||||
@@ -3587,6 +3596,7 @@ NICK_HELP_SET
|
||||
/msg %S LIST
|
||||
HIDE Verberg verschillende soorten nick informatie
|
||||
MSG Verander de communicatiemanier van Services
|
||||
AUTOOP Should services op you automatically.
|
||||
|
||||
Om dit commando te gebruiken moet je je eerst identificeren
|
||||
met je wachtwoord (/msg %S HELP IDENTIFY voor meer
|
||||
|
||||
@@ -579,6 +579,15 @@ NICK_SET_MSG_OFF
|
||||
Od teraz serwisy bêd± siê z Tob± komunikowaæ przez
|
||||
wiadomo¶ci notice.
|
||||
|
||||
# SET AUTOOP responses
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
SET AUTOOP {ON | OFF}
|
||||
NICK_SET_AUTOOP_ON
|
||||
Services will now autoop you in channels.
|
||||
NICK_SET_AUTOOP_OFF
|
||||
Services will no longer autoop you in channels.
|
||||
|
||||
|
||||
# SET NOEXPIRE responses
|
||||
NICK_SASET_SYNTAX
|
||||
SASET nickname option parameters
|
||||
@@ -3804,6 +3813,7 @@ NICK_HELP_SET
|
||||
/msg %S LIST
|
||||
HIDE Ukryj pewne informacje o nicku.
|
||||
MSG Zmieñ sposób komunikacji z serwisami.
|
||||
AUTOOP Should services op you automatically.
|
||||
|
||||
Przed u¿yciem tej komendy trzeba siê wpierw
|
||||
zidentyfikowaæ za pomoc± has³a nicka
|
||||
|
||||
@@ -535,6 +535,14 @@ NICK_SET_MSG_ON
|
||||
NICK_SET_MSG_OFF
|
||||
Os services irão agora respondê-lo através de notices.
|
||||
|
||||
# SET AUTOOP responses
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
SET AUTOOP {ON | OFF}
|
||||
NICK_SET_AUTOOP_ON
|
||||
Services will now autoop you in channels.
|
||||
NICK_SET_AUTOOP_OFF
|
||||
Services will no longer autoop you in channels.
|
||||
|
||||
# SET NOEXPIRE responses
|
||||
NICK_SASET_SYNTAX
|
||||
SASET nickname option parameters
|
||||
@@ -3535,6 +3543,7 @@ NICK_HELP_SET
|
||||
PRIVATE Previne seu nick de aparecer em um /msg %S LIST
|
||||
HIDE Esconde certas informações sobre seu nick
|
||||
MSG Altera o método de comunicação dos Services
|
||||
AUTOOP Should services op you automatically.
|
||||
|
||||
Para usar este comando, você deve primeiro se identificar
|
||||
com sua senha (/msg %S HELP IDENTIFY para maiores
|
||||
|
||||
@@ -529,6 +529,14 @@ NICK_SET_MSG_ON
|
||||
NICK_SET_MSG_OFF
|
||||
Òåïåðü ñåðâèñû áóäóò îòâå÷àòü Âàì ïîñðåäñòâîì íîòèñîâ.
|
||||
|
||||
# SET AUTOOP responses
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
SET AUTOOP {ON | OFF}
|
||||
NICK_SET_AUTOOP_ON
|
||||
Services will now autoop you in channels.
|
||||
NICK_SET_AUTOOP_OFF
|
||||
Services will no longer autoop you in channels.
|
||||
|
||||
# SET NOEXPIRE responses
|
||||
NICK_SASET_SYNTAX
|
||||
SASET nickname option parameters
|
||||
@@ -3568,6 +3576,7 @@ NICK_HELP_SET
|
||||
/msg %S LIST
|
||||
HIDE Ñêðûòü ÷àñòü èíôîðìàöèè î Âàñ
|
||||
MSG Âûáðàòü ìåòîä îáùåíèÿ ñåðâèñîâ ñ Âàìè - ïðèâàò èëè íîòèñû
|
||||
AUTOOP Should services op you automatically.
|
||||
|
||||
Ïåðåä óñòàíîâêîé ëþáîé îïöèè, Âû äîëæíû ñíà÷àëà èäåíòèôèöèðîâàòüñÿ
|
||||
ñ Âàøèì ïàðîëåì (/msg %S HELP IDENTIFY äëÿ áîëåå ïîäðîáíîé
|
||||
|
||||
@@ -535,6 +535,15 @@ NICK_SET_MSG_ON
|
||||
NICK_SET_MSG_OFF
|
||||
Services will now reply to you with notices.
|
||||
|
||||
# SET AUTOOP responses
|
||||
NICK_SET_AUTOOP_SYNTAX
|
||||
SET AUTOOP {ON | OFF}
|
||||
NICK_SET_AUTOOP_ON
|
||||
Services will now autoop you in channels.
|
||||
NICK_SET_AUTOOP_OFF
|
||||
Services will no longer autoop you in channels.
|
||||
|
||||
|
||||
# SET NOEXPIRE responses
|
||||
NICK_SASET_SYNTAX
|
||||
SASET nickname option parameters
|
||||
@@ -3631,6 +3640,7 @@ NICK_HELP_SET
|
||||
PRIVATE Nickinizin /msg %S LIST yazýldýðýnda görünmesini
|
||||
engeller
|
||||
HIDE Nickinizle ilgili bazý bilgileri saklar
|
||||
AUTOOP Should services op you automatically.
|
||||
|
||||
Bu komutu kullanabilmek için önce, þifrenizle
|
||||
kendinizi tanýtmanýz gerekir (Daha fazla bilgi için
|
||||
|
||||
+2
-1
@@ -1368,7 +1368,8 @@ void chan_set_correct_modes(User * user, Channel * c, int give_modes)
|
||||
if (debug)
|
||||
alog("debug: Setting correct user modes for %s on %s (current status: %d, %sgiving modes)", user->nick, c->name, status, (give_modes ? "" : "not "));
|
||||
|
||||
if (give_modes && (get_ignore(user->nick) == NULL)) {
|
||||
if (give_modes && (get_ignore(user->nick) == NULL)
|
||||
&& (user->na && !(user->na->nc->flags & NI_AUTOOP))) {
|
||||
if (ircd->owner && is_founder(user, ci))
|
||||
add_modes |= CUS_OWNER;
|
||||
else if ((ircd->protect || ircd->admin)
|
||||
|
||||
@@ -145,6 +145,7 @@ int NSDefMemoSignon;
|
||||
int NSDefMemoReceive;
|
||||
int NSDefFlags;
|
||||
int NSDefLanguage;
|
||||
int NSDefAutoop;
|
||||
int NSRegDelay;
|
||||
int NSResendDelay;
|
||||
int NSExpire;
|
||||
@@ -545,6 +546,7 @@ Directive directives[] = {
|
||||
{"NSDefNone", {{PARAM_SET, PARAM_RELOAD, &NSDefNone}}},
|
||||
{"NSDefPrivate", {{PARAM_SET, PARAM_RELOAD, &NSDefPrivate}}},
|
||||
{"NSDefSecure", {{PARAM_SET, PARAM_RELOAD, &NSDefSecure}}},
|
||||
{"NSDefAutoop", {{PARAM_SET, PARAM_RELOAD, &NSDefAutoop}}},
|
||||
{"NSEnforcerUser", {{PARAM_STRING, PARAM_RELOAD, &temp_nsuserhost}}},
|
||||
{"NSExpire", {{PARAM_TIME, PARAM_RELOAD, &NSExpire}}},
|
||||
{"NSRExpire", {{PARAM_TIME, PARAM_RELOAD, &NSRExpire}}},
|
||||
@@ -1131,6 +1133,8 @@ int read_config(int reload)
|
||||
NSDefFlags |= NI_MEMO_SIGNON;
|
||||
if (NSDefMemoReceive)
|
||||
NSDefFlags |= NI_MEMO_RECEIVE;
|
||||
if (!NSDefAutoop)
|
||||
NSDefFlags |= NI_AUTOOP;
|
||||
}
|
||||
|
||||
if (!ServicesRoot) {
|
||||
|
||||
@@ -31,6 +31,7 @@ int do_set_secure(User * u, NickCore * nc, char *param);
|
||||
int do_set_private(User * u, NickCore * nc, char *param);
|
||||
int do_set_msg(User * u, NickCore * nc, char *param);
|
||||
int do_set_hide(User * u, NickCore * nc, char *param);
|
||||
int do_set_autoop(User *u, NickCore *nc, char *param);
|
||||
void myNickServHelp(User * u);
|
||||
|
||||
/**
|
||||
@@ -161,6 +162,8 @@ int do_set(User * u)
|
||||
do_set_msg(u, na->nc, param);
|
||||
} else if (stricmp(cmd, "HIDE") == 0) {
|
||||
do_set_hide(u, na->nc, param);
|
||||
} else if (stricmp(cmd, "AUTOOP") == 0) {
|
||||
do_set_autoop(u, na->nc, param);
|
||||
} else {
|
||||
notice_lang(s_NickServ, u, NICK_SET_UNKNOWN_OPTION, cmd);
|
||||
}
|
||||
@@ -449,4 +452,25 @@ int do_set_hide(User * u, NickCore * nc, char *param)
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
int do_set_autoop(User *u, NickCore *nc, char *param) {
|
||||
|
||||
/**
|
||||
* This works the other way around, the absence of this flag denotes ON
|
||||
* This is so when people upgrade, and dont have the flag
|
||||
* the default is on
|
||||
**/
|
||||
if (stricmp(param, "ON") == 0) {
|
||||
nc->flags &= ~NI_AUTOOP;
|
||||
notice_lang(s_NickServ, u, NICK_SET_AUTOOP_ON);
|
||||
} else if (stricmp(param, "OFF") == 0) {
|
||||
nc->flags |= NI_AUTOOP;
|
||||
notice_lang(s_NickServ, u, NICK_SET_AUTOOP_OFF);
|
||||
} else {
|
||||
syntax_error(s_NickServ, u, "SET AUTOOP", NICK_SET_AUTOOP_SYNTAX);
|
||||
}
|
||||
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
||||
+5
-1
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="14"
|
||||
VERSION_EXTRA=""
|
||||
VERSION_BUILD="1079"
|
||||
VERSION_BUILD="1082"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.14 (1082)
|
||||
# BUGS : 423
|
||||
# NOTES : Moved ns_noop into core, its now a /ns set option.
|
||||
#
|
||||
# BUILD : 1.7.14 (1079)
|
||||
# BUGS : 529 531
|
||||
# NOTES : applied trystan's fix and fixed some readonly stuff
|
||||
|
||||
Reference in New Issue
Block a user