summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/main.cpp b/src/main.cpp
index cdddc3163..d43bda2bc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -213,10 +213,7 @@ UplinkSocket::Message::~Message()
return;
}
- if (ircd->ts6)
- message_source = this->server->GetSID();
- else
- message_source = this->server->GetName();
+ message_source = this->server->GetSID();
}
else if (this->user != NULL)
{
@@ -233,10 +230,7 @@ UplinkSocket::Message::~Message()
return;
}
- if (ircd->ts6)
- message_source = this->user->GetUID();
- else
- message_source = this->user->nick;
+ message_source = this->user->GetUID();
}
if (!UplinkSock)