summaryrefslogtreecommitdiff
path: root/modules/commands/os_session.cpp
diff options
context:
space:
mode:
authorRobby <robby@chatbelgie.be>2017-01-17 05:03:25 +0100
committerRobby <robby@chatbelgie.be>2017-01-17 05:03:25 +0100
commit76ce8ece1a4803c98bfe9460f40bf8e0fbc409e6 (patch)
tree26e6da47f20de64ef76fe4afc459bbb7889bd417 /modules/commands/os_session.cpp
parent464093d36e87f3df999145e42ed30fc0dfc55c52 (diff)
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
Diffstat (limited to 'modules/commands/os_session.cpp')
-rw-r--r--modules/commands/os_session.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/commands/os_session.cpp b/modules/commands/os_session.cpp
index 6bb717133..037310b4a 100644
--- a/modules/commands/os_session.cpp
+++ b/modules/commands/os_session.cpp
@@ -66,7 +66,7 @@ class MySessionService : public SessionService
Exception *e = *it;
if (Anope::Match(u->host, e->mask) || Anope::Match(u->ip.addr(), e->mask))
return e;
-
+
if (cidr(e->mask).match(u->ip))
return e;
}
@@ -209,7 +209,7 @@ class CommandOSSession : public Command
std::vector<Anope::string> replies;
list.Process(replies);
-
+
for (unsigned i = 0; i < replies.size(); ++i)
source.Reply(replies[i]);
}
@@ -491,7 +491,7 @@ class CommandOSException : public Command
else
{
source.Reply(_("Current Session Limit Exception list:"));
-
+
std::vector<Anope::string> replies;
list.Process(replies);