summaryrefslogtreecommitdiff
path: root/src/core/cs_status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_status.c')
-rw-r--r--src/core/cs_status.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/cs_status.c b/src/core/cs_status.c
index ba7f5f8fe..90a3728c8 100644
--- a/src/core/cs_status.c
+++ b/src/core/cs_status.c
@@ -32,6 +32,9 @@ class CommandCSStatus : public Command
const char *nick = params[1].c_str();
const char *temp = NULL;
+ if (!u->nc->HasCommand("chanserv/status"))
+ return MOD_CONT; // XXX: error?
+
if (!(ci = cs_findchan(chan)))
{
temp = chan;