diff options
-rw-r--r-- | src/cmd_invite.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/cmd_invite.cpp b/src/cmd_invite.cpp index a05b31f39..34a44b62f 100644 --- a/src/cmd_invite.cpp +++ b/src/cmd_invite.cpp @@ -56,10 +56,7 @@ void cmd_invite::Handle (char **parameters, int pcnt, userrec *user) } else { - if (c->binarymodes & CM_INVITEONLY) - { - WriteServ(user->fd,"401 %s %s :No such nick/channel",user->nick, parameters[0]); - } + WriteServ(user->fd,"401 %s %s :No such nick/channel",user->nick, parameters[0]); } return; |