summaryrefslogtreecommitdiff
path: root/src/servers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/servers.cpp')
-rw-r--r--src/servers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servers.cpp b/src/servers.cpp
index d89757996..40d4bc2b2 100644
--- a/src/servers.cpp
+++ b/src/servers.cpp
@@ -212,7 +212,7 @@ void Server::SetSID(const Anope::string &sid)
*/
const Anope::string &Server::GetSID() const
{
- if (!this->SID.empty())
+ if (!this->SID.empty() && ircdproto->RequiresID)
return this->SID;
else
return this->Name;