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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/cs_getkey.cpp b/modules/commands/cs_getkey.cpp
index 212388e3f..1ac5633ea 100644
--- a/modules/commands/cs_getkey.cpp
+++ b/modules/commands/cs_getkey.cpp
@@ -1,6 +1,6 @@
/* ChanServ core functions
*
- * (C) 2003-2012 Anope Team
+ * (C) 2003-2013 Anope Team
* Contact us at team@anope.org
*
* Please read COPYING and README for further details.
@@ -40,7 +40,7 @@ class CommandCSGetKey : public Command
}
Anope::string key;
- if (!ci->c || !ci->c->GetParam(CMODE_KEY, key))
+ if (!ci->c || !ci->c->GetParam("KEY", key))
{
source.Reply(_("Channel \002%s\002 has no key."), chan.c_str());
return;