summaryrefslogtreecommitdiff
path: root/src/core/cs_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_info.c')
-rw-r--r--src/core/cs_info.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/cs_info.c b/src/core/cs_info.c
index f4f2b5b17..8778d002e 100644
--- a/src/core/cs_info.c
+++ b/src/core/cs_info.c
@@ -48,11 +48,7 @@ class CommandCSInfo : public Command
int show_all = 0;
time_t expt;
- if (!(ci = cs_findchan(chan)))
- {
- notice_lang(s_ChanServ, u, CHAN_X_NOT_REGISTERED, chan);
- return MOD_CONT;
- }
+ ci = cs_findchan(chan);
if (ci->flags & CI_FORBIDDEN)
{