summaryrefslogtreecommitdiff
path: root/modules/core/cs_drop.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-05-08 19:48:26 -0400
committerAdam <Adam@anope.org>2011-05-16 04:10:18 -0400
commit9962fae1a176d62813d8c83ca77104a2efc60e92 (patch)
tree6174b6e37e963a7d4fc479d51411b416aac8dc8d /modules/core/cs_drop.cpp
parent9fcbe293e2820a92921762d892767e2b1802c9c0 (diff)
Calculate nc::channelcount at runtime
Diffstat (limited to 'modules/core/cs_drop.cpp')
-rw-r--r--modules/core/cs_drop.cpp2
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;