summaryrefslogtreecommitdiff
path: root/modules/commands/cs_tban.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_tban.cpp')
-rw-r--r--modules/commands/cs_tban.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/commands/cs_tban.cpp b/modules/commands/cs_tban.cpp
index 65746fdfc..1120d05d4 100644
--- a/modules/commands/cs_tban.cpp
+++ b/modules/commands/cs_tban.cpp
@@ -72,6 +72,8 @@ class CommandCSTBan : public Command
c->SetMode(NULL, CMODE_BAN, mask);
new TempBan(t, c, mask);
+ Log(LOG_COMMAND, source, this, c->ci) << "for " << mask << " to expire in " << duration(t);
+
source.Reply(_("%s banned from %s, will auto-expire in %s."), mask.c_str(), c->name.c_str(), duration(t).c_str());
}