diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-10 00:53:05 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-10 00:53:05 +0000 |
commit | 3b43fd186b33d02455a63e1ec29ce8cf5969ecc6 (patch) | |
tree | 79d8e76f7361793fb9e2898a5fcfbaed66a65707 /src/commands/cmd_eline.cpp | |
parent | 1df212127427f88b502a5f1030fd2e0a31bd499e (diff) |
Make K|G|Z|ELine actually work with a nickname target (code was there but not functional)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8866 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_eline.cpp')
-rw-r--r-- | src/commands/cmd_eline.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/commands/cmd_eline.cpp b/src/commands/cmd_eline.cpp index 6a43193b2..2fdb29679 100644 --- a/src/commands/cmd_eline.cpp +++ b/src/commands/cmd_eline.cpp @@ -39,12 +39,6 @@ CmdResult CommandEline::Handle (const char** parameters, int pcnt, User *user) if (ServerInstance->HostMatchesEveryone(ih.first+"@"+ih.second,user)) return CMD_FAILURE; - if (!strchr(parameters[0],'@')) - { - user->WriteServ("NOTICE %s :*** E-Line must contain a username, e.g. *@%s",user->nick,parameters[0]); - return CMD_FAILURE; - } - long duration = ServerInstance->Duration(parameters[1]); ELine* el = new ELine(ServerInstance, ServerInstance->Time(), duration, user->nick, parameters[2], ih.first.c_str(), ih.second.c_str()); |