diff options
author | Adam <Adam@anope.org> | 2011-05-08 19:48:26 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-05-16 04:10:18 -0400 |
commit | 9962fae1a176d62813d8c83ca77104a2efc60e92 (patch) | |
tree | 6174b6e37e963a7d4fc479d51411b416aac8dc8d /modules/core/cs_drop.cpp | |
parent | 9fcbe293e2820a92921762d892767e2b1802c9c0 (diff) |
Calculate nc::channelcount at runtime
Diffstat (limited to 'modules/core/cs_drop.cpp')
-rw-r--r-- | modules/core/cs_drop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/cs_drop.cpp b/modules/core/cs_drop.cpp index a13006196..fc6949597 100644 --- a/modules/core/cs_drop.cpp +++ b/modules/core/cs_drop.cpp @@ -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; |