diff options
author | Adam <Adam@anope.org> | 2010-08-27 20:56:28 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-08-27 20:56:28 -0400 |
commit | c2ddecc2b1dbc9d055166bdf296da2e4536f74f6 (patch) | |
tree | 9b98582630a2debab628e23d4d796885f50ada74 /modules/core/cs_ban.cpp | |
parent | 73fb94c55344b6ad788c925bf13325236402891f (diff) |
Added a new logging system
Diffstat (limited to 'modules/core/cs_ban.cpp')
-rw-r--r-- | modules/core/cs_ban.cpp | 5 |
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 */ |