diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | Changes.conf | 7 | ||||
-rw-r--r-- | data/example.conf | 7 | ||||
-rw-r--r-- | include/extern.h | 1 | ||||
-rw-r--r-- | lang/cat.l | 2 | ||||
-rw-r--r-- | lang/de.l | 24 | ||||
-rw-r--r-- | lang/en_us.l | 2 | ||||
-rw-r--r-- | lang/fr.l | 2 | ||||
-rw-r--r-- | lang/gr.l | 2 | ||||
-rw-r--r-- | lang/hun.l | 2 | ||||
-rw-r--r-- | lang/it.l | 2 | ||||
-rw-r--r-- | lang/nl.l | 2 | ||||
-rw-r--r-- | lang/pl.l | 2 | ||||
-rw-r--r-- | lang/pt.l | 2 | ||||
-rw-r--r-- | lang/ru.l | 2 | ||||
-rw-r--r-- | lang/tr.l | 2 | ||||
-rw-r--r-- | src/bahamut.c | 3 | ||||
-rw-r--r-- | src/config.c | 3 | ||||
-rw-r--r-- | version.log | 7 |
19 files changed, 51 insertions, 24 deletions
@@ -21,6 +21,7 @@ Provided by Anope Dev. <dev@anope.org> - 2004 08/24 F Compile error with gcc2. [ #00] Provided by Trystan <trystan@nomadirc.net> - 2004 +10/29 A Added UnRestrictSAdmin to allow use of umode +a [ #00] 10/23 A Added depricated.h, this will allow old mods to work for now [ #00] 10/23 A Add hook for SJOIN for Unreal future +I support [ #00] 10/06 A Bahamut's channel mode +j (join throttle) [ #00] diff --git a/Changes.conf b/Changes.conf index f1f481252..3b4c1ccd1 100644 --- a/Changes.conf +++ b/Changes.conf @@ -41,6 +41,13 @@ Anope Version S V N # consult your ircds documentation before using this #Numeric 0 +# UnRestrictSAdmin [OPTIONAL] +# On many ircd Anope removes the umode of +a from users whom are not +# Service Admin in Anope. This mode is NOT used by Anope for any form +# of access. Thus this option allows them to keep the mode without having +# to be a Service Admin in Anope +#UnRestrictSAdmin + ** MODIFIED CONFIGURATION DIRECTIVES ** ** DELETED CONFIGURATION DIRECTIVES ** diff --git a/data/example.conf b/data/example.conf index 45447a43a..93019ea94 100644 --- a/data/example.conf +++ b/data/example.conf @@ -489,6 +489,13 @@ GlobalOnCycleUP "Services are now back online - have a nice day" # on. The default value is 3 #NewsCount 3 +# UnRestrictSAdmin [OPTIONAL] +# On many ircd Anope removes the umode of +a from users whom are not +# Service Admin in Anope. This mode is NOT used by Anope for any form +# of access. Thus this option allows them to keep the mode without having +# to be a Service Admin in Anope +#UnRestrictSAdmin + ########################################################################### # # Mail-related options diff --git a/include/extern.h b/include/extern.h index e5702acac..78c3769d4 100644 --- a/include/extern.h +++ b/include/extern.h @@ -307,6 +307,7 @@ E int RestrictOperNicks; E int UseTokens; E int NewsCount; E int Numeric; +E int UnRestrictSAdmin; E char **HostSetters; E int HostNumber; diff --git a/lang/cat.l b/lang/cat.l index 53f49ac39..ff9590dff 100644 --- a/lang/cat.l +++ b/lang/cat.l @@ -20,7 +20,7 @@ # In help messages, "%S" (capital S, not lowercase) refers to the name of # the service sending the message; for example, in NickServ help messages, # "%S" is replaced by "NickServ" (or whatever it is renamed to in -# config.h). The %S's do not count as sprintf() per ameters, so they can be +# services.conf). The %S's do not count as sprintf() per ameters, so they can be # rearranged, removed, or added as necessary. # # Also in help messages, please try to limit line lengths to 60 characters @@ -31,7 +31,7 @@ # In help messages, "%S" (capital S, not lowercase) refers to the name of # the service sending the message; for example, in NickServ help messages, # "%S" is replaced by "NickServ" (or whatever it is renamed to in -# config.h). The %S's do not count as sprintf() parameters, so they can be +# services.conf). The %S's do not count as sprintf() parameters, so they can be # rearranged, removed, or added as necessary. # # Also in help messages, please try to limit line lengths to 60 characters @@ -555,7 +555,7 @@ NICK_SET_NOEXPIRE_OFF # ACCESS responses NICK_ACCESS_SYNTAX - ACCESS {ADD | DEL | LIST} [mask] + ACCESS {ADD | DEL | LIST} [Maske] NICK_ACCESS_ALREADY_PRESENT Diese Hostmaske %s ist bereits auf der Access-Liste. NICK_ACCESS_REACHED_LIMIT @@ -654,7 +654,7 @@ NICK_ALIST_HEADER Nummer Channel Level Description NICK_ALIST_HEADER_X Die Channels auf die %s Zugriff hat: - Nummmer Channel Level Description + Nummer Channel Level Description NICK_ALIST_XOP_FORMAT %3d %c%-20s %-8s %s NICK_ALIST_ACCESS_FORMAT @@ -1521,7 +1521,7 @@ CHAN_FORBID_REASON CHAN_SUSPEND_SYNTAX SUSPEND Channel [Grund] CHAN_SUSPEND_SYNTAX_REASON - SUSPEND Channel Geason + SUSPEND Channel Grund CHAN_SUSPEND_SUCCEEDED Der Channel %s ist jetzt auf SUSPENDED gesetzt. CHAN_SUSPEND_FAILED @@ -1627,7 +1627,7 @@ MEMO_LIST_NEW_MEMOS MEMO_LIST_CHAN_MEMOS Memos für %s. Um sie zu lesen, tippe /msg %s READ %s Nummer MEMO_LIST_CHAN_NEW_MEMOS - Neue Memos für %s. Um sie zu lesen, tippe /msg %s READ %s Nummmer + Neue Memos für %s. Um sie zu lesen, tippe /msg %s READ %s Nummer MEMO_LIST_HEADER Nummer Sender Datum/Zeit MEMO_LIST_FORMAT @@ -1818,9 +1818,9 @@ MEMO_RSEND_USER_NOTIFICATION MEMO_CHECK_SYNTAX CHECK Nickname MEMO_CHECK_NOT_READ - Die letzte Memo die du zum %s gesendet hast (gesendet am %s) wurde nicht gelesen. + Die letzte Memo die du zu %s gesendet hast (gesendet am %s) wurde nicht gelesen. MEMO_CHECK_READ - Die letzte Memo die du zum %s gesendet hast (gesendet am %s) wurde gelesen. + Die letzte Memo die du zu %s gesendet hast (gesendet am %s) wurde gelesen. MEMO_CHECK_NO_MEMO Nickname %s hat keine Memo von dir. @@ -1919,7 +1919,7 @@ BOT_ASSIGN_ASSIGNED # UNASSIGN responses BOT_UNASSIGN_SYNTAX - UNASSIGN chan + UNASSIGN channel BOT_UNASSIGN_UNASSIGNED Der Bot von %s wurde entfernt. @@ -4091,9 +4091,9 @@ CHAN_HELP_SET SECUREFOUNDER Strengere Kontrolle des Founder-Status SIGNKICK Kicks durch ChanServ in dem Channel werden durch den Kicker signiert - OPNOTICE Sendet eine Notice wenn Op/Deop-Kommandos + OPNOTICE Sendet eine Notice wenn Op/Deop-Befehl benutzt werden - XOP Toggle the user privilege system + XOP Schaltet das Listen System ein oder aus Tippe /msg %S HELP Option für weitere Informationen zu einem bestimmten Befehl. @@ -4364,7 +4364,7 @@ CHAN_HELP_AOP CHAN_HELP_HOP Syntax: HOP Channel ADD Nickname HOP Channel DEL {Nickname | entry-num | Liste} - HOP Channel LIST [Mask | Liste] + HOP Channel LIST [Maske | Liste] HOP Channel CLEAR Verwaltet die HOP (HalfOP) Liste eines Channels. User auf @@ -5671,7 +5671,7 @@ OPER_HELP_SQLINE SQLINE VIEW ist eine ausführlichere Version von SQLINE LIST und zeigt an, wer eine SQLINE gesetzt hat, das Datum und wann - diese ausläuft, ausserdem die Mask und den Grund. + diese ausläuft, ausserdem die Maske und den Grund. SQLINE CLEAR löscht alle Einträge der SQLINE Liste. diff --git a/lang/en_us.l b/lang/en_us.l index 0dd815428..291e89301 100644 --- a/lang/en_us.l +++ b/lang/en_us.l @@ -20,7 +20,7 @@ # In help messages, "%S" (capital S, not lowercase) refers to the name of # the service sending the message; for example, in NickServ help messages, # "%S" is replaced by "NickServ" (or whatever it is renamed to in -# config.h). The %S's do not count as sprintf() parameters, so they can be +# services.conf). The %S's do not count as sprintf() parameters, so they can be # rearranged, removed, or added as necessary. # # Also in help messages, please try to limit line lengths to 60 characters @@ -23,7 +23,7 @@ # In help messages, "%S" (capital S, not lowercase) refers to the name of # the service sending the message; for example, in NickServ help messages, # "%S" is replaced by "NickServ" (or whatever it is renamed to in -# config.h). The %S's do not count as sprintf() parameters, so they can be +# services.conf). The %S's do not count as sprintf() parameters, so they can be # rearranged, removed, or added as necessary. # # Also in help messages, please try to limit line lengths to 60 characters @@ -20,7 +20,7 @@ # In help messages, "%S" (capital S, not lowercase) refers to the name of # the service sending the message; for example, in NickServ help messages, # "%S" is replaced by "NickServ" (or whatever it is renamed to in -# config.h). The %S's do not count as sprintf() parameters, so they can be +# services.conf). The %S's do not count as sprintf() parameters, so they can be # rearranged, removed, or added as necessary. # # Also in help messages, please try to limit line lengths to 60 characters diff --git a/lang/hun.l b/lang/hun.l index d577b368a..2ee18e29a 100644 --- a/lang/hun.l +++ b/lang/hun.l @@ -26,7 +26,7 @@ # In help messages, "%S" (capital S, not lowercase) refers to the name of # the service sending the message; for example, in NickServ help messages, # "%S" is replaced by "NickServ" (or whatever it is renamed to in -# config.h). The %S's do not count as sprintf() parameters, so they can be +# services.conf). The %S's do not count as sprintf() parameters, so they can be # rearranged, removed, or added as necessary. # # Also in help messages, please try to limit line lengths to 60 characters @@ -22,7 +22,7 @@ # In help messages, "%S" (capital S, not lowercase) refers to the name of # the service sending the message; for example, in NickServ help messages, # "%S" is replaced by "NickServ" (or whatever it is renamed to in -# config.h). The %S's do not count as sprintf() parameters, so they can be +# services.conf). The %S's do not count as sprintf() parameters, so they can be # rearranged, removed, or added as necessary. # # Also in help messages, please try to limit line lengths to 60 characters @@ -22,7 +22,7 @@ # In help messages, "%S" (capital S, not lowercase) refers to the name of # the service sending the message; for example, in NickServ help messages, # "%S" is replaced by "NickServ" (or whatever it is renamed to in -# config.h). The %S's do not count as sprintf() parameters, so they can be +# services.conf). The %S's do not count as sprintf() parameters, so they can be # rearranged, removed, or added as necessary. # # Also in help messages, please try to limit line lengths to 60 characters @@ -29,7 +29,7 @@ # In help messages, "%S" (capital S, not lowercase) refers to the name of # the service sending the message; for example, in NickServ help messages, # "%S" is replaced by "NickServ" (or whatever it is renamed to in -# config.h). The %S's do not count as sprintf() parameters, so they can be +# services.conf). The %S's do not count as sprintf() parameters, so they can be # rearranged, removed, or added as necessary. # # Also in help messages, please try to limit line lengths to 60 characters @@ -20,7 +20,7 @@ # In help messages, "%S" (capital S, not lowercase) refers to the name of # the service sending the message; for example, in NickServ help messages, # "%S" is replaced by "NickServ" (or whatever it is renamed to in -# config.h). The %S's do not count as sprintf() parameters, so they can be +# services.conf). The %S's do not count as sprintf() parameters, so they can be # rearranged, removed, or added as necessary. # # Also in help messages, please try to limit line lengths to 60 characters @@ -26,7 +26,7 @@ # In help messages, "%S" (capital S, not lowercase) refers to the name of # the service sending the message; for example, in NickServ help messages, # "%S" is replaced by "NickServ" (or whatever it is renamed to in -# config.h). The %S's do not count as sprintf() parameters, so they can be +# services.conf). The %S's do not count as sprintf() parameters, so they can be # rearranged, removed, or added as necessary. # # Also in help messages, please try to limit line lengths to 60 characters @@ -20,7 +20,7 @@ # In help messages, "%S" (capital S, not lowercase) refers to the name of # the service sending the message; for example, in NickServ help messages, # "%S" is replaced by "NickServ" (or whatever it is renamed to in -# config.h). The %S's do not count as sprintf() parameters, so they can be +# services.conf). The %S's do not count as sprintf() parameters, so they can be # rearranged, removed, or added as necessary. # # Also in help messages, please try to limit line lengths to 60 characters diff --git a/src/bahamut.c b/src/bahamut.c index 64623ddd1..67c4112c5 100644 --- a/src/bahamut.c +++ b/src/bahamut.c @@ -165,6 +165,9 @@ void anope_set_umode(User * user, int ac, char **av) add = 0; break; case 'a': + if (UnRestrictSAdmin) { + break; + } if (add && !is_services_admin(user)) { common_svsmode(user, "-a", NULL); user->mode &= ~UMODE_a; diff --git a/src/config.c b/src/config.c index 746cf7c7a..35ab3d981 100644 --- a/src/config.c +++ b/src/config.c @@ -326,6 +326,8 @@ long unsigned int UserKey3; int Numeric; +int UnRestrictSAdmin; + /*************************************************************************/ /* Deprecated directive (dep_) and value checking (chk_) functions: */ @@ -631,6 +633,7 @@ Directive directives[] = { {"UseSVSHOLD", {{PARAM_SET, PARAM_RELOAD, &UseSVSHOLD}}}, {"UseSVS2MODE", {{PARAM_SET, PARAM_RELOAD, &UseSVS2MODE}}}, {"UseTokens", {{PARAM_SET, 0, &UseTokens}}}, + {"UnRestrictSAdmin", {{PARAM_SET, PARAM_RELOAD, &UnRestrictSAdmin}}}, {"WallAkillExpire", {{PARAM_SET, PARAM_RELOAD, &WallAkillExpire}}}, {"WallBadOS", {{PARAM_SET, PARAM_RELOAD, &WallBadOS}}}, {"WallDrop", {{PARAM_SET, PARAM_RELOAD, &WallDrop}}}, diff --git a/version.log b/version.log index f801b959b..843130a49 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,15 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="5" -VERSION_BUILD="433" +VERSION_BUILD="434" # $Log$ # +# BUILD : 1.7.5 (434) +# BUGS : N/A +# NOTES : 1. fixed typo in the lang files, 2. updated de.l from Crazytoon, 3. UnRestrictSAdmin for Bahamut to allow them +# the usage of +a without being a Service Admin +# # BUILD : 1.7.5 (433) # BUGS : 182 # NOTES : Fixed CS not resetting the modes after CS CLEAR MODES |