1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 10:46:38 +02:00

Fix a few problems found by Cronusa and KindOne

This commit is contained in:
Adam
2012-10-01 04:35:36 -04:00
parent b19a3af4db
commit f14a3dfb8a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;