summaryrefslogtreecommitdiff
path: root/src/commands/cmd_kline.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-10 14:28:01 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-10 14:28:01 +0000
commit59643d29385fd4fbfed7a5720e90e2c9ffd1fd21 (patch)
treea3b8358420121d1713d3db7f24eaf16107f44087 /src/commands/cmd_kline.cpp
parentf63580a4eaa8d079200065dffa4d6a33b5577427 (diff)
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
Diffstat (limited to 'src/commands/cmd_kline.cpp')
-rw-r--r--src/commands/cmd_kline.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/cmd_kline.cpp b/src/commands/cmd_kline.cpp
index 50f9ebf08..1b5764bdc 100644
--- a/src/commands/cmd_kline.cpp
+++ b/src/commands/cmd_kline.cpp
@@ -32,6 +32,8 @@ CmdResult CommandKline::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]);