summaryrefslogtreecommitdiff
path: root/modules/chanserv/invite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/chanserv/invite.cpp')
-rw-r--r--modules/chanserv/invite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/chanserv/invite.cpp b/modules/chanserv/invite.cpp
index 2f236b6c6..df8bee8f9 100644
--- a/modules/chanserv/invite.cpp
+++ b/modules/chanserv/invite.cpp
@@ -41,7 +41,7 @@ class CommandCSInvite : public Command
return;
}
- ChanServ::Channel *ci = c->ci;
+ ChanServ::Channel *ci = c->GetChannel();
if (!ci)
{
source.Reply(_("Channel \002{0}\002 isn't registered."), c->name);