mirror of
https://github.com/anope/anope.git
synced 2026-06-26 21:56:38 +02:00
Added a new logging system
This commit is contained in:
@@ -60,8 +60,6 @@ class CommandCSEnforce : public Command
|
||||
if (!(ci = c->ci))
|
||||
return;
|
||||
|
||||
Alog(LOG_DEBUG) << "[cs_enforce] Enforcing SECUREOPS on " << c->name;
|
||||
|
||||
/* Dirty hack to allow chan_set_correct_modes to work ok.
|
||||
* We pretend like SECUREOPS is on so it doesn't ignore that
|
||||
* part of the code. This way we can enforce SECUREOPS even
|
||||
@@ -94,8 +92,6 @@ class CommandCSEnforce : public Command
|
||||
if (!(ci = c->ci))
|
||||
return;
|
||||
|
||||
Alog(LOG_DEBUG) << "[cs_enforce] Enforcing RESTRICTED on " << c->name;
|
||||
|
||||
old_nojoin_level = ci->levels[CA_NOJOIN];
|
||||
if (ci->levels[CA_NOJOIN] < 0)
|
||||
ci->levels[CA_NOJOIN] = 0;
|
||||
@@ -124,8 +120,6 @@ class CommandCSEnforce : public Command
|
||||
if (!(ci = c->ci))
|
||||
return;
|
||||
|
||||
Alog(LOG_DEBUG) << "[cs_enforce] Enforcing mode +R on " << c->name;
|
||||
|
||||
for (CUserList::iterator it = c->users.begin(), it_end = c->users.end(); it != it_end; )
|
||||
{
|
||||
UserContainer *uc = *it++;
|
||||
|
||||
Reference in New Issue
Block a user