summaryrefslogtreecommitdiff
path: root/modules/commands/os_akill.cpp
diff options
context:
space:
mode:
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;