diff options
Diffstat (limited to 'src/uplink.cpp')
-rw-r--r-- | src/uplink.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/uplink.cpp b/src/uplink.cpp index 871121cc9..282d8be05 100644 --- a/src/uplink.cpp +++ b/src/uplink.cpp @@ -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; |