summaryrefslogtreecommitdiff
path: root/src/coremods/core_xline/cmd_kline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/coremods/core_xline/cmd_kline.cpp')
-rw-r--r--src/coremods/core_xline/cmd_kline.cpp12
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"))