From f14a3dfb8a4cc9da7b5066ac8320265d54dba177 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 1 Oct 2012 04:35:36 -0400 Subject: Fix a few problems found by Cronusa and KindOne --- src/servers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/servers.cpp') 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; -- cgit