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

Interally quit servers when juped

This commit is contained in:
Adam
2013-07-26 07:36:17 -04:00
parent b48293a632
commit 2450a64bf4
5 changed files with 15 additions and 6 deletions
+6 -1
View File
@@ -173,7 +173,12 @@ UplinkSocket::Message::~Message()
}
else if (this->user != NULL)
{
if (this->user->server != Me && !this->user->server->IsJuped())
if (this->user->server == NULL)
{
Log(LOG_DEBUG) << "Attempted to send \"" << this->buffer.str() << "\" from " << this->user->nick << " who has no server (I'm not introduced?)";
return;
}
else 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;