summaryrefslogtreecommitdiff
path: root/src/core/cs_xop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_xop.c')
-rw-r--r--src/core/cs_xop.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/cs_xop.c b/src/core/cs_xop.c
index f2b41e167..6cf790851 100644
--- a/src/core/cs_xop.c
+++ b/src/core/cs_xop.c
@@ -366,8 +366,6 @@ class XOPBase : public Command
if (!(ci = cs_findchan(chan)))
notice_lang(s_ChanServ, u, CHAN_X_NOT_REGISTERED, chan);
- else if (ci->flags & CI_FORBIDDEN)
- notice_lang(s_ChanServ, u, CHAN_X_FORBIDDEN, chan);
else if (!(ci->flags & CI_XOP))
notice_lang(s_ChanServ, u, CHAN_XOP_ACCESS, s_ChanServ);
else if (!stricmp(cmd, "ADD"))