From 59643d29385fd4fbfed7a5720e90e2c9ffd1fd21 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 10 Feb 2008 14:28:01 +0000 Subject: Correctly rewrite bans in 1.2 also, and make zline on nicks actually work. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8873 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_eline.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/commands/cmd_eline.cpp') diff --git a/src/commands/cmd_eline.cpp b/src/commands/cmd_eline.cpp index 2fdb29679..ca95955b7 100644 --- a/src/commands/cmd_eline.cpp +++ b/src/commands/cmd_eline.cpp @@ -32,6 +32,8 @@ CmdResult CommandEline::Handle (const char** parameters, int pcnt, User *user) { ih.first = "*"; ih.second = find->GetIPString(); + std::string c = std::string("*@") + find->GetIPString(); + parameters[0] = c.c_str(); } else ih = ServerInstance->XLines->IdentSplit(parameters[0]); -- cgit v1.3.1-10-gc9f91