summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-01 01:56:57 -0400
committerAdam <Adam@anope.org>2012-10-01 01:56:57 -0400
commit89428a9d1032e3c2a6e397629a32862b3e58d708 (patch)
treed507904b3fa1cc084f0f3e688c839bcdd47f79d7 /src/main.cpp
parentb937d6310d9a7c0e2434200306b63d513cb2ae61 (diff)
Cleanup of all of the protocol modules, rewrote message handling system to be a bit more C++ ish
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)