1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 10:03:14 +02:00

Cleanup of all of the protocol modules, rewrote message handling system to be a bit more C++ ish

This commit is contained in:
Adam
2012-10-01 01:56:57 -04:00
parent b937d6310d
commit 89428a9d10
52 changed files with 2705 additions and 3039 deletions
+4 -7
View File
@@ -52,13 +52,10 @@ bool is_on_access(const User *u, const NickCore *nc)
return false;
Anope::string buf = u->GetIdent() + "@" + u->host, buf2, buf3;
if (ircd->vhost)
{
if (!u->vhost.empty())
buf2 = u->GetIdent() + "@" + u->vhost;
if (!u->GetCloakedHost().empty())
buf3 = u->GetIdent() + "@" + u->GetCloakedHost();
}
if (!u->vhost.empty())
buf2 = u->GetIdent() + "@" + u->vhost;
if (!u->GetCloakedHost().empty())
buf3 = u->GetIdent() + "@" + u->GetCloakedHost();
for (unsigned i = 0, end = nc->access.size(); i < end; ++i)
{