mirror of
https://github.com/anope/anope.git
synced 2026-06-29 11:56:38 +02:00
Optimizations of much of the more commonly used code
This commit is contained in:
+1
-1
@@ -393,7 +393,7 @@ unsigned IRCDProto::GetMaxListFor(Channel *c)
|
||||
MessageSource::MessageSource(const Anope::string &src) : source(src), u(NULL), s(NULL)
|
||||
{
|
||||
if (src.empty())
|
||||
this->s = !Me->GetLinks().empty() ? Me->GetLinks().front() : NULL;
|
||||
this->s = Servers::GetUplink();
|
||||
else if (IRCD->RequiresID || src.find('.') != Anope::string::npos)
|
||||
this->s = Server::Find(src);
|
||||
if (this->s == NULL)
|
||||
|
||||
Reference in New Issue
Block a user