mirror of
https://github.com/anope/anope.git
synced 2026-06-26 06:36:40 +02:00
fixed a crash bug when a server squits
This commit is contained in:
+1
-1
@@ -500,7 +500,7 @@ bool IRCdMessage::OnQuit(const Anope::string &source, const std::vector<Anope::s
|
||||
|
||||
bool IRCdMessage::OnSQuit(const Anope::string &source, const std::vector<Anope::string> ¶ms)
|
||||
{
|
||||
const Anope::string &server = source;
|
||||
const Anope::string &server = params[0];
|
||||
|
||||
Server *s = Server::Find(server);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user