summaryrefslogtreecommitdiff
path: root/modules/commands/cs_tban.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-05 23:12:38 -0500
committerAdam <Adam@anope.org>2012-11-06 11:02:12 -0500
commit0cf8d733953fd9c856c0519f2bccc94a3cb2eafa (patch)
treecd4405459cdae27db8eb3b12677a19a50f74079d /modules/commands/cs_tban.cpp
parent53b2bdfe5e157a9e5ca5d08873edebcd04511ae1 (diff)
Added log messages for all of the other chanserv commands that should be logged
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());
}