mirror of
https://github.com/anope/anope.git
synced 2026-06-27 21:06:37 +02:00
Rewrote some of the opertype system, added os_login
This commit is contained in:
@@ -47,7 +47,7 @@ public:
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
if (Config->CSMaxReg && u->Account()->channelcount >= Config->CSMaxReg && !u->Account()->HasPriv("chanserv/no-register-limit"))
|
||||
if (Config->CSMaxReg && u->Account()->channelcount >= Config->CSMaxReg && !u->HasPriv("chanserv/no-register-limit"))
|
||||
{
|
||||
source.Reply(u->Account()->channelcount > Config->CSMaxReg ? _(CHAN_EXCEEDED_CHANNEL_LIMIT) : _(CHAN_REACHED_CHANNEL_LIMIT), Config->CSMaxReg);
|
||||
return MOD_CONT;
|
||||
|
||||
Reference in New Issue
Block a user