summaryrefslogtreecommitdiff
path: root/src/core/cs_topic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_topic.c')
-rw-r--r--src/core/cs_topic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cs_topic.c b/src/core/cs_topic.c
index 28b28776f..6a5af3dec 100644
--- a/src/core/cs_topic.c
+++ b/src/core/cs_topic.c
@@ -36,7 +36,7 @@ class CommandCSTopic : public Command
notice_lang(s_ChanServ, u, CHAN_X_NOT_IN_USE, chan);
else if (!(ci = c->ci))
notice_lang(s_ChanServ, u, CHAN_X_NOT_REGISTERED, c->name);
- else if (ci->flags & CI_VERBOTEN)
+ else if (ci->flags & CI_FORBIDDEN)
notice_lang(s_ChanServ, u, CHAN_X_FORBIDDEN, ci->name);
else if (!is_services_admin(u) && !check_access(u, ci, CA_TOPIC))
notice_lang(s_ChanServ, u, PERMISSION_DENIED);