summaryrefslogtreecommitdiff
path: root/modules/core/cs_ban.cpp
diff options
context:
space:
mode:
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 */