summaryrefslogtreecommitdiff
path: root/src/access.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 /src/access.cpp
parent464093d36e87f3df999145e42ed30fc0dfc55c52 (diff)
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
Diffstat (limited to 'src/access.cpp')
-rw-r--r--src/access.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/access.cpp b/src/access.cpp
index 1c1a6f8e4..5b994e916 100644
--- a/src/access.cpp
+++ b/src/access.cpp
@@ -84,7 +84,7 @@ void PrivilegeManager::AddPrivilege(Privilege p)
if (priv.rank > p.rank)
break;
}
-
+
Privileges.insert(Privileges.begin() + i, p);
}
@@ -265,7 +265,7 @@ bool ChanAccess::Matches(const User *u, const NickCore *acc, ChannelInfo* &next)
else if (Anope::Match(u->GetDisplayedMask(), this->mask))
return true;
}
-
+
if (acc)
{
for (unsigned i = 0; i < acc->aliases->size(); ++i)
@@ -275,12 +275,12 @@ bool ChanAccess::Matches(const User *u, const NickCore *acc, ChannelInfo* &next)
return true;
}
}
-
+
if (IRCD->IsChannelValid(this->mask))
{
next = ChannelInfo::Find(this->mask);
}
-
+
return false;
}
@@ -313,7 +313,7 @@ bool ChanAccess::operator<(const ChanAccess &other) const
continue;
return !this_p && other_p;
- }
+ }
return false;
}
@@ -473,4 +473,3 @@ bool AccessGroup::operator<=(const AccessGroup &other) const
{
return !(*this > other);
}
-