From ecf3d236c28317db544171d18b7b7b8aa1827846 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 18 Jan 2006 23:03:07 +0000 Subject: Tony hart stars in a new show, to replace hart attack. YES, ITS CRAQ ATTACK! Now starring the cmd_invite 401 numeric fuckup! :D git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2820 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_invite.cpp | 5 +---- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3