diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-12-28 16:59:03 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-12-28 16:59:03 +0100 |
commit | 299f262a4fd1c0a508a5b6748761128a2c3efde9 (patch) | |
tree | 6ec11d59ecdd976ecf6636af22ebb49367da5fcf /src/coremods | |
parent | 03561f500eb8e82b2ddfa0489fb4ae03c2c9631b (diff) |
Fix some whitespace issues
Diffstat (limited to 'src/coremods')
-rw-r--r-- | src/coremods/core_xline/cmd_kline.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/coremods/core_xline/cmd_kline.cpp b/src/coremods/core_xline/cmd_kline.cpp index 50ab88398..ee85fdd1d 100644 --- a/src/coremods/core_xline/cmd_kline.cpp +++ b/src/coremods/core_xline/cmd_kline.cpp @@ -34,7 +34,7 @@ CommandKline::CommandKline(Module* parent) */ CmdResult CommandKline::Handle (const std::vector<std::string>& parameters, User *user) { - std::string target = parameters[0]; + std::string target = parameters[0]; if (parameters.size() >= 3) { @@ -49,11 +49,11 @@ CmdResult CommandKline::Handle (const std::vector<std::string>& parameters, User else ih = ServerInstance->XLines->IdentSplit(target); - if (ih.first.empty()) - { - user->WriteNotice("*** Target not found"); - return CMD_FAILURE; - } + if (ih.first.empty()) + { + user->WriteNotice("*** Target not found"); + return CMD_FAILURE; + } InsaneBan::IPHostMatcher matcher; if (InsaneBan::MatchesEveryone(ih.first+"@"+ih.second, matcher, user, "K", "hostmasks")) |