summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-18 23:03:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-18 23:03:07 +0000
commitecf3d236c28317db544171d18b7b7b8aa1827846 (patch)
treeb682246a9c586e7815b48be3f40b30744a9e1c4e /src
parentcfdb1b9f7ccc21fce1c06b53385126da8526c301 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/cmd_invite.cpp5
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;