mirror of
https://github.com/anope/anope.git
synced 2026-07-03 22:23:12 +02:00
Interally quit servers when juped
This commit is contained in:
@@ -178,7 +178,10 @@ const Anope::string &Server::GetDescription() const
|
||||
|
||||
void Server::SetSID(const Anope::string &nsid)
|
||||
{
|
||||
if (!this->sid.empty())
|
||||
throw CoreException("Server already has an id?");
|
||||
this->sid = nsid;
|
||||
Servers::ByID[nsid] = this;
|
||||
}
|
||||
|
||||
const Anope::string &Server::GetSID() const
|
||||
|
||||
Reference in New Issue
Block a user