summaryrefslogtreecommitdiff
path: root/modules/chanserv/drop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chanserv/drop.cpp')
-rw-r--r--modules/chanserv/drop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/drop.cpp b/modules/chanserv/drop.cpp
index cd8718801..d85e5390d 100644
--- a/modules/chanserv/drop.cpp
+++ b/modules/chanserv/drop.cpp
@@ -65,7 +65,7 @@ class CommandCSDrop : public Command
logger.Command(source, ci, _("{source} used {command} on {channel} (founder was: {0})"),
ci->GetFounder() ? ci->GetFounder()->GetDisplay() : "none");
- Reference<Channel> c = ci->c;
+ Reference<Channel> c = ci->GetChannel();
ci->Delete();
source.Reply(_("Channel \002{0}\002 has been dropped."), chan);