summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/cat.l38
-rw-r--r--lang/de.l40
-rw-r--r--lang/en_us.l9
-rw-r--r--lang/es.l38
-rw-r--r--lang/fr.l37
-rw-r--r--lang/gr.l37
-rw-r--r--lang/hun.l42
-rw-r--r--lang/it.l40
-rw-r--r--lang/nl.l39
-rw-r--r--lang/pl.l39
-rw-r--r--lang/pt.l37
-rw-r--r--lang/ru.l38
-rw-r--r--lang/tr.l36
-rw-r--r--src/channels.c2
-rw-r--r--src/chanserv.c24
-rw-r--r--src/core/cs_access.c2
16 files changed, 248 insertions, 250 deletions
diff --git a/lang/cat.l b/lang/cat.l
index c3d89784d..8cc0b6b8d 100644
--- a/lang/cat.l
+++ b/lang/cat.l
@@ -4877,25 +4877,25 @@ CHAN_HELP_LEVELS
LEVELS canal LIST
LEVELS canal RESET
- La comanda LEVELS permet un control fin sobre el
- significat dels nivellls d'accés numèrics per a
- canals. Amb aquesta comanda, pots definir el nivelll d'accés
- requerit per a la majoria de les funcions de %S.
- (Les comandes SET FOUNDER i SET PASSWORD, així com
- aquesta comanda estan sempre restringidws al fundador del
- canal.)
-
- LEVELS SET permet canviar el nivelll d'accés per a una funció
- o un grup de funcions. LEVELS DISABLE (o DIS abreviat)
- deshabilita una característica automàtica o prohibeix accés a una
- funció per a totss excepte el fundador del canal.
- LEVELS LIST mostra els nivellls actuals per a cada funció o
- grup de funcions. LEVELS RESET restableix els nivellls als
- nivellls per defecte d'un canal acabat de crear (Veure
- HELP ACCESS LEVELS).
-
- Per a una llista de les características i funcions a les que
- se'ls pot canviar els nivellls, Veure HELP LEVELS DESC.
+ The LEVELS command allows fine control over the meaning of
+ the numeric access levels used for channels. With this
+ command, you can define the access level required for most
+ of %S's functions. (The SET FOUNDER and this command
+ are always restricted to the channel founder.)
+
+ LEVELS SET allows the access level for a function or group of
+ functions to be changed. LEVELS DISABLE (or DIS for short)
+ disables an automatic feature or disallows access to a
+ function by anyone, INCLUDING the founder (although, the founder
+ can always reenable it).
+
+ LEVELS LIST shows the current levels for each function or
+ group of functions. LEVELS RESET resets the levels to the
+ default levels of a newly-created channel (see
+ HELP ACCESS LEVELS).
+
+ For a list of the features and functions whose levels can be
+ set, see HELP LEVELS DESC.
CHAN_HELP_LEVELS_DESC
Els següents nombres de característiques/funcions són
diff --git a/lang/de.l b/lang/de.l
index 7bd2cb3b1..909b75e22 100644
--- a/lang/de.l
+++ b/lang/de.l
@@ -4908,27 +4908,25 @@ CHAN_HELP_LEVELS
LEVELS channel LIST
LEVELS channel RESET
-
- Der LEVELS Befehl erlaubt eine feinere Regelung
- der Zugriffslevel eines Channels. Mit diesem Befehl
- kann man Zugriffslevel definieren, die die meisten
- Funktionen von %S abdecken. (SET FOUNDER und SET PASSWORD,
- genau wie dieser Befehl, sind beschränkt auf den Channel-
- Founder.)
-
- LEVELS SET erlaubt einem Zugriffslevel eine Änderung seiner
- Funktion bzw Gruppe von Funktionen. LEVELS DISABLE (oder
- DIS als Abkürzung) deaktiviert eine automatische Funktion
- oder verweigert den Zugriff auf jeden anderen ausser den
- Channel-Founder.
-
- Durch LEVELS LIST werden die aktuellen Levels und ihre
- Funktionen aufgelistet. LEVELS RESET setzt alle Level auf
- die Standardwerte eines neu erzeugten Channels zurück
- (siehe HELP ACCESS LEVELS).
-
- Für eine Auflistung der Funktionen, die diese Parameter
- haben, siehe HELP LEVELS DESC.
+ The LEVELS command allows fine control over the meaning of
+ the numeric access levels used for channels. With this
+ command, you can define the access level required for most
+ of %S's functions. (The SET FOUNDER and this command
+ are always restricted to the channel founder.)
+
+ LEVELS SET allows the access level for a function or group of
+ functions to be changed. LEVELS DISABLE (or DIS for short)
+ disables an automatic feature or disallows access to a
+ function by anyone, INCLUDING the founder (although, the founder
+ can always reenable it).
+
+ LEVELS LIST shows the current levels for each function or
+ group of functions. LEVELS RESET resets the levels to the
+ default levels of a newly-created channel (see
+ HELP ACCESS LEVELS).
+
+ For a list of the features and functions whose levels can be
+ set, see HELP LEVELS DESC.
CHAN_HELP_LEVELS_DESC
Die folgenden Befehle/Funktionen werden unterstützt.
diff --git a/lang/en_us.l b/lang/en_us.l
index 01ec81cdb..2ad73892e 100644
--- a/lang/en_us.l
+++ b/lang/en_us.l
@@ -4696,14 +4696,15 @@ CHAN_HELP_LEVELS
The LEVELS command allows fine control over the meaning of
the numeric access levels used for channels. With this
command, you can define the access level required for most
- of %S's functions. (The SET FOUNDER and SET PASSWORD
- commands, as well as this command, are always restricted to
- the channel founder.)
+ of %S's functions. (The SET FOUNDER and this command
+ are always restricted to the channel founder.)
LEVELS SET allows the access level for a function or group of
functions to be changed. LEVELS DISABLE (or DIS for short)
disables an automatic feature or disallows access to a
- function by anyone other than the channel founder.
+ function by anyone, INCLUDING the founder (although, the founder
+ can always reenable it).
+
LEVELS LIST shows the current levels for each function or
group of functions. LEVELS RESET resets the levels to the
default levels of a newly-created channel (see
diff --git a/lang/es.l b/lang/es.l
index def1b880a..dded0b989 100644
--- a/lang/es.l
+++ b/lang/es.l
@@ -4849,25 +4849,25 @@ CHAN_HELP_LEVELS
LEVELS canal LIST
LEVELS canal RESET
- El comando LEVELS permite un control fino sobre el
- significado de los niveles de acceso numericos usados para
- canales. Con este comando, puedes definir el nivel de acceso
- requerido para la mayoria de las funciones de %S.
- (Los comandos SET FOUNDER y SET PASSWORD, asi como
- este comando estan siempre restringidos al fundador del
- canal.)
-
- LEVELS SET permite cambiar el nivel de acceso para una funcion
- o un grupo de funciones. LEVELS DISABLE (o DIS para corto)
- desabilita una caracteristica automatica o prohibe acceso a una
- funcion para todos excepto el fundador del canal.
- LEVELS LIST muestra los niveles actuales para cada funcion o
- grupo de funciones. LEVELS RESET resetea los niveles a los
- niveles por defecto de un canal recien creado (ver
- HELP ACCESS LEVELS).
-
- Para una lista de las caracteristicas y funciones a los que
- se les puede cambiar los niveles, ver HELP LEVELS DESC.
+ The LEVELS command allows fine control over the meaning of
+ the numeric access levels used for channels. With this
+ command, you can define the access level required for most
+ of %S's functions. (The SET FOUNDER and this command
+ are always restricted to the channel founder.)
+
+ LEVELS SET allows the access level for a function or group of
+ functions to be changed. LEVELS DISABLE (or DIS for short)
+ disables an automatic feature or disallows access to a
+ function by anyone, INCLUDING the founder (although, the founder
+ can always reenable it).
+
+ LEVELS LIST shows the current levels for each function or
+ group of functions. LEVELS RESET resets the levels to the
+ default levels of a newly-created channel (see
+ HELP ACCESS LEVELS).
+
+ For a list of the features and functions whose levels can be
+ set, see HELP LEVELS DESC.
CHAN_HELP_LEVELS_DESC
Los siguientes nombres de decaracteristicas/funciones son
diff --git a/lang/fr.l b/lang/fr.l
index 882e41e95..ee7a0cb74 100644
--- a/lang/fr.l
+++ b/lang/fr.l
@@ -4909,24 +4909,25 @@ CHAN_HELP_LEVELS
LEVELS canal LIST
LEVELS canal RESET
- La commande LEVELS permet un contrôle précis de la
- signification des levels d'accès utilisés pour les canaux.
- Avec cette commande, vous pouvez définir le level d'accès
- requis pour la majorité des fonctions de %S. (Les commandes
- SET FOUNDER et SET PASSWORD, ainsi que cette commande,
- sont toujours réservées au propriétaire du canal.)
-
- LEVELS SET permet au level d'accès pour une fonction ou un
- groupe de fonctions d'être changé. LEVELS DISABLE (ou DIS
- en abrégé) désactive une fonction automatique ou empêche l'accès
- à une fonction par quiconque sauf le propriétaire du canal.
- LEVELS LIST montre les levels courants pour chaque fonction
- ou groupe de fonctions. LEVELS RESET réinitialise les levels
- avec les levels par défaut d'un canal fraichement créé
- (consultez HELP ACCESS LEVELS).
-
- Pour une liste de caractéristiques et fonctions pour lesquels
- des levels peuvent être définis, consultez HELP LEVELS DESC.
+ The LEVELS command allows fine control over the meaning of
+ the numeric access levels used for channels. With this
+ command, you can define the access level required for most
+ of %S's functions. (The SET FOUNDER and this command
+ are always restricted to the channel founder.)
+
+ LEVELS SET allows the access level for a function or group of
+ functions to be changed. LEVELS DISABLE (or DIS for short)
+ disables an automatic feature or disallows access to a
+ function by anyone, INCLUDING the founder (although, the founder
+ can always reenable it).
+
+ LEVELS LIST shows the current levels for each function or
+ group of functions. LEVELS RESET resets the levels to the
+ default levels of a newly-created channel (see
+ HELP ACCESS LEVELS).
+
+ For a list of the features and functions whose levels can be
+ set, see HELP LEVELS DESC.
CHAN_HELP_LEVELS_DESC
Les noms de caractéristiques/fonctions suivants sont utilisés.
diff --git a/lang/gr.l b/lang/gr.l
index 34f6264a1..4674b8bcb 100644
--- a/lang/gr.l
+++ b/lang/gr.l
@@ -4827,24 +4827,25 @@ CHAN_HELP_LEVELS
LEVELS êáíÜëé LIST
LEVELS êáíÜëé RESET
- Ç åíôïëÞ LEVELS åðéôñÝðåé ôï êáëü ÷åéñéóìü üóïí áöïñÜ
- ôçí ñýèìéóç ôçò access levels ðïõ ÷ñçóéìïðïéåßôáé óôï êáíÜëé.
- Ìå áõôÞ ôçí åíôïëÞ, ìðïñåßôå íá ÷åéñßæåóôå ôçí access level ðïõ
- ðïõ åêôåëåß ï %S. (Ôéò åíôïëÝò SET FOUNDER êáé SET PASSWORD
- ôéò ÷åéñßæåôáé ìüíï ï founder.)
-
- Ç åíôïëÞ LEVELS SET åðéôñÝðåé ôçí áëëáãÞ ôùí access level (âáèìþí).
- Ç åíôïëÞ LEVELS DISABLE (Þ DIS ãéá óõíôïìßá)
- áðåíåñãïðïéåß áõôüìáôá ìåëëïíôéêÜ Þ äåí äßíåé äéêáéþìáôá óå üóïõò Ý÷ïõí access
- åêôüò ôïõ founder êáíáëéïý áõôïý.
- Ç åíôïëÞ áõôÞ LEVELS LIST äåß÷íåé ôá levels (âáèìïýò) ðïõ Ý÷åé ç êÜèå
- åíôïëÞ.
- Ç åíôïëÞ LEVELS RESET óâÞíåé ôá levels (âáèìïýò) êáé åðáíáöÝñåé ôá
- default levels (âáèìïýò), äçë áõôÜ ôá levels ðïõ Ý÷åé Ýíá íÝï êáíÜëé (äåò
- ôçí åíôïëÞ HELP ACCESS LEVELS).
-
- Ãéá íá äåßò ôçí ëßóôá ìå ôéò åíôïëÝò ðïõ ìðïñåßò íá áëëÜîåéò ôá levels, äåò
- ôçí åíôïëÞ HELP LEVELS DESC.
+ The LEVELS command allows fine control over the meaning of
+ the numeric access levels used for channels. With this
+ command, you can define the access level required for most
+ of %S's functions. (The SET FOUNDER and this command
+ are always restricted to the channel founder.)
+
+ LEVELS SET allows the access level for a function or group of
+ functions to be changed. LEVELS DISABLE (or DIS for short)
+ disables an automatic feature or disallows access to a
+ function by anyone, INCLUDING the founder (although, the founder
+ can always reenable it).
+
+ LEVELS LIST shows the current levels for each function or
+ group of functions. LEVELS RESET resets the levels to the
+ default levels of a newly-created channel (see
+ HELP ACCESS LEVELS).
+
+ For a list of the features and functions whose levels can be
+ set, see HELP LEVELS DESC.
CHAN_HELP_LEVELS_DESC
Ôá áêüëïõèá feature/function êáôáëáâáßíïíôáé. Óçìåßùóç,
diff --git a/lang/hun.l b/lang/hun.l
index 08f5ec3d2..0b3131775 100644
--- a/lang/hun.l
+++ b/lang/hun.l
@@ -4761,28 +4761,26 @@ CHAN_HELP_LEVELS
LEVELS #szoba LIST
LEVELS #szoba RESET
- A LEVELS segítségével a számokkal definiált hozzáférési
- szintek módosíthatók.
- Ezzel a paranccsal, definiálhatsz hozzáférési szinteket,
- melyek szükségesek a %S funkcióihoz.
- Ezt a parancsot csak a founder használhatja.
-
- LEVELS SET biztosítja, hogy megváltoztasd a hozzáférési
- szintjét egy adott funkciónak vagy funkciók csoportjának.
-
- A LEVELS DISABLE (vagy DIS röviden) letiltja
- az automatikus lehetõségeket, vagy megtiltja a hozzáférést
- bizonyos funkciókhoz, ezeket csak a founder változtathatja
-
- LEVELS LIST kiírja a jelenlegi hozzáférési szintjeit
- a különbözõ funkcióknak.
-
- LEVELS RESET visszaállítja az alapértelmezett értékeket.
- Lásd még: HELP ACCESS LEVELS.
-
- Ha szeretnéd megnézni a funkciók és lehetõségek listáját.
- akkor lesd meg a HELP LEVELS DESC leírást is.
-
+ The LEVELS command allows fine control over the meaning of
+ the numeric access levels used for channels. With this
+ command, you can define the access level required for most
+ of %S's functions. (The SET FOUNDER and this command
+ are always restricted to the channel founder.)
+
+ LEVELS SET allows the access level for a function or group of
+ functions to be changed. LEVELS DISABLE (or DIS for short)
+ disables an automatic feature or disallows access to a
+ function by anyone, INCLUDING the founder (although, the founder
+ can always reenable it).
+
+ LEVELS LIST shows the current levels for each function or
+ group of functions. LEVELS RESET resets the levels to the
+ default levels of a newly-created channel (see
+ HELP ACCESS LEVELS).
+
+ For a list of the features and functions whose levels can be
+ set, see HELP LEVELS DESC.
+
CHAN_HELP_LEVELS_DESC
A következõ lehetõségek/funkciók elérthetõek.
Megjegyzés: az AUTODEOP és NOJOIN esetén maximum szintrõl
diff --git a/lang/it.l b/lang/it.l
index 21810875b..c087e6131 100644
--- a/lang/it.l
+++ b/lang/it.l
@@ -4742,27 +4742,25 @@ CHAN_HELP_LEVELS
LEVELS canale LIST
LEVELS canale RESET
- Il comando LEVELS permette un controllo preciso dei
- significati dei livelli di accesso numerici usati nei
- canali. Con questo comando, è possibile definire il
- livello di accesso richiesto per la maggior parte delle
- funzioni di %S.
- (I comandi SET FOUNDER e SET PASSWORD, nonché questo
- comando, sono sempre riservati al fondatore del canale).
-
- LEVELS SET permette di definire il livello di accesso
- necessario per una funzione o per un gruppo di funzioni.
- LEVELS DISABLE (o, abbreviato, DIS) disattiva una
- funzione automatica o non permette più l'accesso a una
- funzione se non al fondatore del canale.
- LEVELS LIST mostra i livelli di accesso attuali per
- ogni funzione e per i gruppi di funzioni.
- LEVELS RESET reimposta i livelli ai valori di default
- di un canale appena creato (per maggiori informazioni,
- digita HELP ACCESS LEVELS).
-
- Per una lista delle funzioni di cui puoi cambiare i
- livelli, digita HELP LEVELS DESC.
+ The LEVELS command allows fine control over the meaning of
+ the numeric access levels used for channels. With this
+ command, you can define the access level required for most
+ of %S's functions. (The SET FOUNDER and this command
+ are always restricted to the channel founder.)
+
+ LEVELS SET allows the access level for a function or group of
+ functions to be changed. LEVELS DISABLE (or DIS for short)
+ disables an automatic feature or disallows access to a
+ function by anyone, INCLUDING the founder (although, the founder
+ can always reenable it).
+
+ LEVELS LIST shows the current levels for each function or
+ group of functions. LEVELS RESET resets the levels to the
+ default levels of a newly-created channel (see
+ HELP ACCESS LEVELS).
+
+ For a list of the features and functions whose levels can be
+ set, see HELP LEVELS DESC.
CHAN_HELP_LEVELS_DESC
La seguente lista mostra le funzioni disponibile. Tieni
diff --git a/lang/nl.l b/lang/nl.l
index 56a469377..27c221777 100644
--- a/lang/nl.l
+++ b/lang/nl.l
@@ -4811,26 +4811,25 @@ CHAN_HELP_LEVELS
LEVELS kanaal LIST
LEVELS kanaal RESET
- Het LEVELS commando staat precieze controle toe over de
- betekenis van de numerieke toegangsniveaus die worden
- gebruikt voor kanalen. Met dit commando kan je de toegangs-
- niveaus defineren die benodigd zijn voor de meeste functies
- van %S. (De SET FOUNDER en SET PASSWORD commando's zijn,
- evenals dit commando, altijd gelimiteerd tot de stichter.)
-
- LEVELS SET staat toe om de toegangsniveaus voor functies
- of een groep functies te veranderen. LEVELS DISABLE (of
- kortweg DIS) schakelt een automatische functie uit, of
- staat gebruik van de functie niet toe door iemand anders
- dan de stichter.
-
- LEVELS LIST geeft de huidige levels voor elke functie of
- groep van functies weer. LEVELS RESET stelt de niveaus in
- op de standaardwaarden van een nieuw kanaal (zie
- HELP ACCESS LEVELS).
-
- Voor een list van de opties en functies waarvan de niveaus
- kunnen worden aangepast, zie HELP LEVELS DESC.
+ The LEVELS command allows fine control over the meaning of
+ the numeric access levels used for channels. With this
+ command, you can define the access level required for most
+ of %S's functions. (The SET FOUNDER and this command
+ are always restricted to the channel founder.)
+
+ LEVELS SET allows the access level for a function or group of
+ functions to be changed. LEVELS DISABLE (or DIS for short)
+ disables an automatic feature or disallows access to a
+ function by anyone, INCLUDING the founder (although, the founder
+ can always reenable it).
+
+ LEVELS LIST shows the current levels for each function or
+ group of functions. LEVELS RESET resets the levels to the
+ default levels of a newly-created channel (see
+ HELP ACCESS LEVELS).
+
+ For a list of the features and functions whose levels can be
+ set, see HELP LEVELS DESC.
CHAN_HELP_LEVELS_DESC
De volgende optie-/functienamen worden begrepen. Let op dat
diff --git a/lang/pl.l b/lang/pl.l
index 5a5065dc9..1d02153a1 100644
--- a/lang/pl.l
+++ b/lang/pl.l
@@ -5819,26 +5819,25 @@ CHAN_HELP_LEVELS
LEVELS kana³ LIST
LEVELS kana³ RESET
- Polecenie LEVELS umo¿liwia przypisywanie
- uprawnieñ poszczególnym poziomom dostepu.
- Przy u¿yciu tej komendy mo¿esz definiowaæ
- poziomy dostêpu do wszystkich funkcji %S
- (SET FOUNDER, SET PASSWORD oraz LEVELS
- s± dostêpne tylko dla w³a¶ciciela kana³u).
-
- LEVELS SET pozwala zmieniæ przypisany poziom dla
- okre¶lonej operacji lub ich grup. LEVELS DISABLE
- (lub DIS w skrócie) wy³±cza okre¶lon± funkcjê lub
- zastrzega dostêp do niej dla w³a¶ciciela kana³u.
- LEVELS LIST wy¶wietla aktualnie ustalone poziomy
- dla ka¿dej z operacji. LEVELS RESET przywraca
- standardowe ustawienia poziomów dostêpu - identyczne
- z tymi jakie ustawiane s± dla kana³u po jego
- utworzeniu (zobacz HELP ACCESS LEVELS).
-
- Aby obejrzeæ spis wszystkich funkcji które mog±
- zostaæ przypisane poziomom dostêpu, zobacz
- HELP LEVELS DESC.
+ The LEVELS command allows fine control over the meaning of
+ the numeric access levels used for channels. With this
+ command, you can define the access level required for most
+ of %S's functions. (The SET FOUNDER and this command
+ are always restricted to the channel founder.)
+
+ LEVELS SET allows the access level for a function or group of
+ functions to be changed. LEVELS DISABLE (or DIS for short)
+ disables an automatic feature or disallows access to a
+ function by anyone, INCLUDING the founder (although, the founder
+ can always reenable it).
+
+ LEVELS LIST shows the current levels for each function or
+ group of functions. LEVELS RESET resets the levels to the
+ default levels of a newly-created channel (see
+ HELP ACCESS LEVELS).
+
+ For a list of the features and functions whose levels can be
+ set, see HELP LEVELS DESC.
CHAN_HELP_LEVELS_DESC
Poni¿ej znajduje siê lista wszystkich dostêpnych uprawnieñ.
diff --git a/lang/pt.l b/lang/pt.l
index 0a34f05a7..061165b32 100644
--- a/lang/pt.l
+++ b/lang/pt.l
@@ -4714,24 +4714,25 @@ CHAN_HELP_LEVELS
LEVELS canal LIST
LEVELS canal RESET
- O comando LEVELS permite ajuste detalhado sobre o
- significado dos níveis de acesso numéricos usados pelos
- canais. Com esse comando, você pode definir o nível de
- acesso requerido pela maioria das funções do %S.
- (Os comandos SET FOUNDER e SET PASSWORD, assim como
- este comando, são sempre restritos ao Fundador do canal).
-
- LEVELS SET permite que o nível de acesso para uma função ou
- grupo de funções seja alterado. LEVELS DISABLE (ou DIS
- para encurtar) desabilita um recurso automático ou não permite
- o acesso a funções para qualquer um que não seja o Fundador
- do canal. LEVELS LIST mostra os níveis atuais para cada
- função ou para um grupo de funções. LEVELS RESET recoloca
- os níveis de acordo com o padrão de um canal recém-criado
- (veja HELP ACCESS LEVELS).
-
- Para lista de recursos e funções cujos níveis podem ser
- ajustados, veja HELP LEVELS DESC.
+ The LEVELS command allows fine control over the meaning of
+ the numeric access levels used for channels. With this
+ command, you can define the access level required for most
+ of %S's functions. (The SET FOUNDER and this command
+ are always restricted to the channel founder.)
+
+ LEVELS SET allows the access level for a function or group of
+ functions to be changed. LEVELS DISABLE (or DIS for short)
+ disables an automatic feature or disallows access to a
+ function by anyone, INCLUDING the founder (although, the founder
+ can always reenable it).
+
+ LEVELS LIST shows the current levels for each function or
+ group of functions. LEVELS RESET resets the levels to the
+ default levels of a newly-created channel (see
+ HELP ACCESS LEVELS).
+
+ For a list of the features and functions whose levels can be
+ set, see HELP LEVELS DESC.
CHAN_HELP_LEVELS_DESC
Os seguintes nomes de recursos/funções são entendidos.
diff --git a/lang/ru.l b/lang/ru.l
index 7db0aa1dc..b32c092c8 100644
--- a/lang/ru.l
+++ b/lang/ru.l
@@ -4811,25 +4811,25 @@ CHAN_HELP_LEVELS
LEVELS #êàíàë LIST
LEVELS #êàíàë RESET
- Êîìàíäà LEVELS ïîçâîëÿåò óäîáíî óïðàâëÿòü óðîâíÿìè äîñòóïà,
- èñïîëüçóåìûìè äëÿ ñïèñêîâ äîñòóïà. Ñ ïîìîùüþ ýòîé ýòó êîìàíäû,
- âû ìîæåòå îïðåäåëèòü óðîâåíü äîñòóïà, òðåáóåìûé äëÿ áîëüøèíñòâà
- ôóíêöèé %S'à (êîìàíäû SET FOUNDER è SET PASSWORD,
- à òàêæå ýòó êîìàíäó, ìîæåò èñïîëüçîâàòü òîëüêî âëàäåëåö êàíàëà).
-
- Êîìàíäà LEVELS SET ïîçâîëÿåò óñòàíîâèòü óðîâåíü äîñòóïà äëÿ
- ôóíêöèè èëè ãðóïïû ôóíêöèé.
- Êîìàíäà LEVELS DISABLE (DIS - ñîêðàùåííûé àíàëîã) îòêëþ÷àåò
- ôóíêöèþ èëè çàïðåùàåò äîñòóï ê ôóíêöèè âñåì, êðîìå âëàäåëüöà êàíàëà.
-
- Êîìàíäà LEVELS LIST ïîêàæåò òåêóùèå óðîâíè äîñòóïà äëÿ êàæäîé
- ôóíêöèè èëè ãðóïïû ôóíêöèé.
-
- Êîìàíäà LEVELS RESET ñáðîñèò âñå íàñòðîéêè óðîâíåé äîñòóïà íà
- çíà÷åíèÿ ïî-óìîë÷àíèþ (ïðîïèñàíûå â HELP ACCESS LEVELS).
-
- ×òîáû ïîñìîòðåòü ñïèñîê ôóíêöèé, íà êîòîðûå ìîæíî îïðåäåëÿòü óðîâíè
- äîñòóïà, ñì. ñïðàâî÷íóþ èíôîðìàöèþ ïî HELP LEVELS DESC.
+ The LEVELS command allows fine control over the meaning of
+ the numeric access levels used for channels. With this
+ command, you can define the access level required for most
+ of %S's functions. (The SET FOUNDER and this command
+ are always restricted to the channel founder.)
+
+ LEVELS SET allows the access level for a function or group of
+ functions to be changed. LEVELS DISABLE (or DIS for short)
+ disables an automatic feature or disallows access to a
+ function by anyone, INCLUDING the founder (although, the founder
+ can always reenable it).
+
+ LEVELS LIST shows the current levels for each function or
+ group of functions. LEVELS RESET resets the levels to the
+ default levels of a newly-created channel (see
+ HELP ACCESS LEVELS).
+
+ For a list of the features and functions whose levels can be
+ set, see HELP LEVELS DESC.
CHAN_HELP_LEVELS_DESC
Íèæå ïðåäñòàâëåí ñïèñîê âñåõ äîñòóïíûõ êîìàíä/ôóíêöèé è èõ îïèñàíèå.
diff --git a/lang/tr.l b/lang/tr.l
index 5b7c4ac73..ccdea1d8b 100644
--- a/lang/tr.l
+++ b/lang/tr.l
@@ -4800,23 +4800,25 @@ CHAN_HELP_LEVELS
LEVELS kanaladý LIST
LEVELS kanaladý RESET
- LEVELS komutu bir kanaldaki access seviyelerinin iyi
- kontrolünü saðlar. Bu komutla, %S'ün birçok
- fonksiyonu için gereken access seviyelerini
- belirleyebilirsiniz. (SET FOUNDER ve SET PASSWORD
- komutlarý ve bu komut sadece kanal founderý tarafýndan
- kullanýlabilir.)
-
- LEVELS SET komutu bir fonksiyon yada fonksiyon gruplarý için
- access seviyelerini deðiþtirmeye yarar. LEVELS DISABLE (veya
- kýsaca DIS) otomatik bir özelliði kapatýr yada founderdan
- baþkasýnýn kullanmasýný engeller. LEVELS LIST komutu
- fonksiyonlar yada fonksiyon gruplarý için mevcut seviyeleri
- gösterir. LEVELS RESET komutu seviyeleri varsayýlan deðerlerine
- geri çevirir. (HELP ACCESS LEVELS e bakýn).
-
- Seviyeleri ayarlanabilecek fonksiyonlar için, HELP LEVELS DESC e
- bakýn.
+ The LEVELS command allows fine control over the meaning of
+ the numeric access levels used for channels. With this
+ command, you can define the access level required for most
+ of %S's functions. (The SET FOUNDER and this command
+ are always restricted to the channel founder.)
+
+ LEVELS SET allows the access level for a function or group of
+ functions to be changed. LEVELS DISABLE (or DIS for short)
+ disables an automatic feature or disallows access to a
+ function by anyone, INCLUDING the founder (although, the founder
+ can always reenable it).
+
+ LEVELS LIST shows the current levels for each function or
+ group of functions. LEVELS RESET resets the levels to the
+ default levels of a newly-created channel (see
+ HELP ACCESS LEVELS).
+
+ For a list of the features and functions whose levels can be
+ set, see HELP LEVELS DESC.
CHAN_HELP_LEVELS_DESC
Aþaðýda seviyeleri deðiþtirilebilecek fonksiyonlar listelidir.
diff --git a/src/channels.c b/src/channels.c
index b8f0e081d..57c9917e1 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -1771,7 +1771,7 @@ void chan_set_correct_modes(User * user, Channel * c, int give_modes)
*/
if (give_modes && (get_ignore(user->nick) == NULL)
&& (!user->nc || !user->nc->HasFlag(NI_AUTOOP))) {
- if (owner && (IsFounder(user, ci) || check_access(user, ci, CA_AUTOOWNER)))
+ if (owner && check_access(user, ci, CA_AUTOOWNER))
add_modes |= CUS_OWNER;
else if (admin && check_access(user, ci, CA_AUTOPROTECT))
add_modes |= CUS_PROTECT;
diff --git a/src/chanserv.c b/src/chanserv.c
index 491c60e48..e961921b1 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -29,14 +29,14 @@ static int def_levels[][2] = {
{ CA_NOJOIN, -2 },
{ CA_INVITE, 5 },
{ CA_AKICK, 10 },
- { CA_SET, ACCESS_INVALID },
- { CA_CLEAR, ACCESS_INVALID },
+ { CA_SET, ACCESS_FOUNDER },
+ { CA_CLEAR, ACCESS_FOUNDER },
{ CA_UNBAN, 5 },
{ CA_OPDEOP, 5 },
{ CA_ACCESS_LIST, 1 },
{ CA_ACCESS_CHANGE, 10 },
{ CA_MEMO, 10 },
- { CA_ASSIGN, ACCESS_INVALID },
+ { CA_ASSIGN, ACCESS_FOUNDER },
{ CA_BADWORDS, 10 },
{ CA_NOKICK, 1 },
{ CA_FANTASIA, 3 },
@@ -51,17 +51,17 @@ static int def_levels[][2] = {
{ CA_HALFOPME, 4 },
{ CA_HALFOP, 5 },
{ CA_PROTECTME, 10 },
- { CA_PROTECT, ACCESS_INVALID },
+ { CA_PROTECT, ACCESS_FOUNDER },
{ CA_KICKME, 5 },
{ CA_KICK, 5 },
- { CA_SIGNKICK, ACCESS_INVALID },
+ { CA_SIGNKICK, ACCESS_FOUNDER },
{ CA_BANME, 5 },
{ CA_BAN, 5 },
- { CA_TOPIC, ACCESS_INVALID },
- { CA_INFO, ACCESS_INVALID },
- { CA_AUTOOWNER, ACCESS_INVALID },
- { CA_OWNER, ACCESS_INVALID },
- { CA_OWNERME, ACCESS_INVALID },
+ { CA_TOPIC, ACCESS_FOUNDER },
+ { CA_INFO, ACCESS_FOUNDER },
+ { CA_AUTOOWNER, ACCESS_FOUNDER },
+ { CA_OWNER, ACCESS_FOUNDER },
+ { CA_OWNERME, ACCESS_FOUNDER },
{ -1 }
};
@@ -1562,6 +1562,8 @@ int check_access(User * user, ChannelInfo * ci, int what)
if (level > 0)
ci->last_used = time(NULL);
+ if (limit == ACCESS_INVALID)
+ return 0;
if (what == ACCESS_FOUNDER)
return IsFounder(user, ci);
if (level >= ACCESS_FOUNDER)
@@ -1569,8 +1571,6 @@ int check_access(User * user, ChannelInfo * ci, int what)
/* Hacks to make flags work */
if (what == CA_AUTODEOP && (ci->HasFlag(CI_SECUREOPS)) && level == 0)
return 1;
- if (limit == ACCESS_INVALID)
- return 0;
if (what == CA_AUTODEOP || what == CA_NOJOIN)
return level <= ci->levels[what];
else
diff --git a/src/core/cs_access.c b/src/core/cs_access.c
index 83ea0f0f7..b8792bfca 100644
--- a/src/core/cs_access.c
+++ b/src/core/cs_access.c
@@ -202,7 +202,7 @@ class CommandCSAccess : public Command
notice_lang(s_ChanServ, u, CHAN_ACCESS_NICKS_ONLY);
return MOD_CONT;
}
- if (na->HasFlag(NS_FORBIDDEN));
+ else if (na->HasFlag(NS_FORBIDDEN))
{
notice_lang(s_ChanServ, u, NICK_X_FORBIDDEN, nick);
return MOD_CONT;