mirror of
https://github.com/anope/anope.git
synced 2026-07-04 20:33:12 +02:00
Added a command:permission setting
This commit is contained in:
@@ -36,12 +36,6 @@ class CommandNSList : public Command
|
||||
|
||||
suspended = nsnoexpire = unconfirmed = false;
|
||||
|
||||
if (Config->NSListOpersOnly && !u->HasMode(UMODE_OPER)) /* reverse the help logic */
|
||||
{
|
||||
source.Reply(ACCESS_DENIED);
|
||||
return;
|
||||
}
|
||||
|
||||
if (pattern[0] == '#')
|
||||
{
|
||||
Anope::string n1 = myStrGetToken(pattern.substr(1), '-', 0), /* Read FROM out */
|
||||
|
||||
Reference in New Issue
Block a user