From c8b3809fc93bfcccb354248c17467da9b69e0ebd Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 22 Oct 2011 11:21:21 -0400 Subject: Added akill ids --- modules/commands/os_chankill.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/commands/os_chankill.cpp') 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); } -- cgit