aboutsummaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-08-17 21:13:05 +0100
committerGravatar Sadie Powell2021-08-17 21:13:05 +0100
commit8e6d811f34146ab4591e9ca88d5b84cf0c4bca52 (patch)
treef2fb6c6422c962468b4e4930186e494d6f570e28 /src/xline.cpp
parentFix the Detach method which got borked during a rebase. (diff)
Remove a bunch of unnecessary whitespace.
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 441f655f9..49c00e206 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -108,7 +108,6 @@ class ZLineFactory : public XLineFactory
}
};
-
/*
* This is now version 3 of the XLine subsystem, let's see if we can get it as nice and
* efficient as we can this time so we can close this file and never ever touch it again ..
@@ -182,7 +181,6 @@ void XLineManager::CheckELines()
}
}
-
XLineLookup* XLineManager::GetAll(const std::string &type)
{
ContainerIter n = lookup_lines.find(type);
@@ -347,7 +345,6 @@ bool XLineManager::DelLine(const char* hostmask, const std::string& type, std::s
return true;
}
-
void ELine::Unset()
{
ServerInstance->XLines->CheckELines();
@@ -444,7 +441,6 @@ void XLineManager::ExpireLine(ContainerIter container, LookupIter item, bool sil
container->second.erase(item);
}
-
// applies lines, removing clients and changing nicks etc as applicable
void XLineManager::ApplyLines()
{
@@ -507,7 +503,6 @@ XLineManager::XLineManager()
QLineFactory* QFact;
ZLineFactory* ZFact;
-
GFact = new GLineFactory;
EFact = new ELineFactory;
KFact = new KLineFactory;
@@ -559,7 +554,6 @@ void XLine::DefaultApply(User* u, const std::string &line, bool bancache)
else
ServerInstance->Users.QuitUser(u, banReason);
-
if (bancache)
{
ServerInstance->Logs.Log("BANCACHE", LOG_DEBUG, "BanCache: Adding positive hit (" + line + ") for " + u->GetIPString());
@@ -644,7 +638,6 @@ void ZLine::Apply(User* u)
DefaultApply(u, "Z", true);
}
-
bool QLine::Matches(User *u)
{
if (InspIRCd::Match(u->nick, this->nick))
@@ -660,7 +653,6 @@ void QLine::Apply(User* u)
u->ChangeNick(u->uuid);
}
-
bool ZLine::Matches(const std::string &str)
{
if (InspIRCd::MatchCIDR(str, this->ipaddr))