mirror of
https://github.com/anope/anope.git
synced 2026-07-02 07:06:38 +02:00
Calculate nc::channelcount at runtime
This commit is contained in:
@@ -54,7 +54,7 @@ class CommandCSDrop : public Command
|
||||
ci->c->RemoveMode(NULL, CMODE_REGISTERED, "", false);
|
||||
|
||||
bool override = (ci->HasFlag(CI_SECUREFOUNDER) ? !IsFounder(u, ci) : !check_access(u, ci, CA_FOUNDER));
|
||||
Log(override ? LOG_OVERRIDE : LOG_COMMAND, u, this, ci) << "founder: " << (ci->founder ? ci->founder->display : "none");
|
||||
Log(override ? LOG_OVERRIDE : LOG_COMMAND, u, this, ci) << "founder: " << (ci->GetFounder() ? ci->GetFounder()->display : "none");
|
||||
|
||||
delete ci;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user