summaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
authorlethality <lethality@anope.org>2010-12-31 21:17:58 +0000
committerlethality <lethality@anope.org>2010-12-31 21:20:34 +0000
commit57a06f72e231d8848393c8ba3bb4034a332bac4f (patch)
tree32b01ed51165e755ddda4daecf71cb47e871b8ef /src/protocol.cpp
parent3019ba6f434c3578a9bde6c941eb98828db3c221 (diff)
fixed a crash bug when a server squits
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r--src/protocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp
index 9d10c9a0d..4a85f8df6 100644
--- a/src/protocol.cpp
+++ b/src/protocol.cpp
@@ -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> &params)
{
- const Anope::string &server = source;
+ const Anope::string &server = params[0];
Server *s = Server::Find(server);