summaryrefslogtreecommitdiff
path: root/modules/commands/cs_getkey.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_getkey.cpp')
-rw-r--r--modules/commands/cs_getkey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_getkey.cpp b/modules/commands/cs_getkey.cpp
index 6b714d093..122035acc 100644
--- a/modules/commands/cs_getkey.cpp
+++ b/modules/commands/cs_getkey.cpp
@@ -24,7 +24,7 @@ class CommandCSGetKey : public Command
{
const Anope::string &chan = params[0];
- ChannelInfo *ci = ChannelInfo::Find(params[0]);
+ ChanServ::Channel *ci = ChanServ::Find(params[0]);
if (ci == NULL)
{
source.Reply(CHAN_X_NOT_REGISTERED, params[0].c_str());