summaryrefslogtreecommitdiff
path: root/modules/commands/os_akill.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-08-21 14:09:55 -0400
committerAdam <Adam@anope.org>2011-08-21 14:09:55 -0400
commit37c7ca8b87a3a94c7d541f88eec8e234b8d8ec4a (patch)
treed8ba758c1cfa2310ace4fcb4c0651141b8b1cb0f /modules/commands/os_akill.cpp
parent46639707221fb1af96ca60c717e2e4400818e8f7 (diff)
Fixed AddAkiller
Diffstat (limited to 'modules/commands/os_akill.cpp')
-rw-r--r--modules/commands/os_akill.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/commands/os_akill.cpp b/modules/commands/os_akill.cpp
index ab35fee1e..296819ca7 100644
--- a/modules/commands/os_akill.cpp
+++ b/modules/commands/os_akill.cpp
@@ -205,6 +205,9 @@ class CommandOSAKill : public Command
return;
}
+ if (Config->AddAkiller)
+ reason = "[" + u->nick + "] " + reason;
+
XLine *x = akills->Add(mask, u->nick, expires, reason);
EventReturn MOD_RESULT;