summaryrefslogtreecommitdiff
path: root/src/commands/cmd_eline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_eline.cpp')
-rw-r--r--src/commands/cmd_eline.cpp2
1 files changed, 2 insertions, 0 deletions
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]);