summaryrefslogtreecommitdiff
path: root/modules/core/cs_ban.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-08-27 20:56:28 -0400
committerAdam <Adam@anope.org>2010-08-27 20:56:28 -0400
commitc2ddecc2b1dbc9d055166bdf296da2e4536f74f6 (patch)
tree9b98582630a2debab628e23d4d796885f50ada74 /modules/core/cs_ban.cpp
parent73fb94c55344b6ad788c925bf13325236402891f (diff)
Added a new logging system
Diffstat (limited to 'modules/core/cs_ban.cpp')
-rw-r--r--modules/core/cs_ban.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/core/cs_ban.cpp b/modules/core/cs_ban.cpp
index 500db20f5..fcc11d393 100644
--- a/modules/core/cs_ban.cpp
+++ b/modules/core/cs_ban.cpp
@@ -56,8 +56,11 @@ class CommandCSBan : public Command
else
{
Anope::string mask;
-
get_idealban(ci, u2, mask);
+
+ // XXX need a way to detect if someone is overriding
+ Log(LOG_COMMAND, u, this, ci) << "for " << mask;
+
c->SetMode(NULL, CMODE_BAN, mask);
/* We still allow host banning while not allowing to kick */