summaryrefslogtreecommitdiff
path: root/src/core/cs_identify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cs_identify.c')
-rw-r--r--src/core/cs_identify.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/cs_identify.c b/src/core/cs_identify.c
index aa8f3ac32..14de4134a 100644
--- a/src/core/cs_identify.c
+++ b/src/core/cs_identify.c
@@ -30,11 +30,7 @@ class CommandCSIdentify : public Command
ChannelInfo *ci;
struct u_chaninfolist *uc;
- if (!(ci = cs_findchan(chan)))
- {
- notice_lang(s_ChanServ, u, CHAN_X_NOT_REGISTERED, chan);
- return MOD_CONT;
- }
+ ci = cs_findchan(chan);
if (is_founder(u, ci))
{