summaryrefslogtreecommitdiff
path: root/src/uplink.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-01-21 22:31:16 -0500
committerAdam <Adam@anope.org>2013-01-21 22:31:16 -0500
commitddaa001dafb5122e6e363e4acbbe6ce045b7b104 (patch)
tree0364a76606ac6e2881ebd663601ce260f7c1101e /src/uplink.cpp
parent51c049e1a738e9124bab3961f35b830906517421 (diff)
Merge usefulness of Flags and Extensible classes into Extensible, made most flags we have juse strings instead of defines/enums
Diffstat (limited to 'src/uplink.cpp')
-rw-r--r--src/uplink.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/uplink.cpp b/src/uplink.cpp
index 70023c987..085ef889b 100644
--- a/src/uplink.cpp
+++ b/src/uplink.cpp
@@ -85,12 +85,12 @@ UplinkSocket::~UplinkSocket()
if (Me)
for (unsigned i = Me->GetLinks().size(); i > 0; --i)
- if (!Me->GetLinks()[i - 1]->HasFlag(SERVER_JUPED))
+ if (!Me->GetLinks()[i - 1]->IsJuped())
Me->GetLinks()[i - 1]->Delete(Me->GetName() + " " + Me->GetLinks()[i - 1]->GetName());
UplinkSock = NULL;
- Me->SetFlag(SERVER_SYNCING);
+ Me->Unsync();
if (Anope::AtTerm())
{
@@ -159,7 +159,7 @@ UplinkSocket::Message::~Message()
if (this->server != NULL)
{
- if (this->server != Me && !this->server->HasFlag(SERVER_JUPED))
+ if (this->server != Me && !this->server->IsJuped())
{
Log(LOG_DEBUG) << "Attempted to send \"" << this->buffer.str() << "\" from " << this->server->GetName() << " who is not from me?";
return;
@@ -169,7 +169,7 @@ UplinkSocket::Message::~Message()
}
else if (this->user != NULL)
{
- if (this->user->server != Me && !this->user->server->HasFlag(SERVER_JUPED))
+ if (this->user->server != Me && !this->user->server->IsJuped())
{
Log(LOG_DEBUG) << "Attempted to send \"" << this->buffer.str() << "\" from " << this->user->nick << " who is not from me?";
return;