summaryrefslogtreecommitdiff
path: root/modules/commands/os_chankill.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-10-22 11:21:21 -0400
committerAdam <Adam@anope.org>2011-10-22 11:21:21 -0400
commitc8b3809fc93bfcccb354248c17467da9b69e0ebd (patch)
tree68f2efa54b2ac5a949dcf1da7d03269ab26ad7df /modules/commands/os_chankill.cpp
parentad2ef75cbed4804f9f1d24419b9bc77fbe75a27a (diff)
Added akill ids
Diffstat (limited to 'modules/commands/os_chankill.cpp')
-rw-r--r--modules/commands/os_chankill.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/commands/os_chankill.cpp b/modules/commands/os_chankill.cpp
index 53e7dfd9c..e6b69cb9f 100644
--- a/modules/commands/os_chankill.cpp
+++ b/modules/commands/os_chankill.cpp
@@ -80,7 +80,8 @@ class CommandOSChanKill : public Command
if (uc->user->server == Me || uc->user->HasMode(UMODE_OPER))
continue;
- akills->Add("*@" + uc->user->host, u->nick, expires, realreason);
+ XLine *x = new XLine("*@" + uc->user->host, u->nick, expires, realreason, XLineManager::GenerateUID());
+ akills->AddXLine(x);
akills->Check(uc->user);
}