1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 07:23:13 +02:00

Removed SZLine. Instead, have AKILL determine whether or not a ZLINE should be set.

This commit is contained in:
Adam
2011-08-13 14:24:08 -04:00
parent 2b5d9f349f
commit 4a7ba7ef4c
8 changed files with 41 additions and 242 deletions
+7
View File
@@ -59,6 +59,13 @@ Anope::string XLine::GetHost() const
return this->Mask.substr(host_t + 1);
}
sockaddrs XLine::GetIP() const
{
sockaddrs addr;
addr.pton(this->GetHost().find(':') != Anope::string::npos ? AF_INET6 : AF_INET, this->GetHost());
return addr;
}
/** Constructor
*/
XLineManager::XLineManager(Module *creator, const Anope::string &xname, char t) : Service(creator, xname), type(t)