Commit 0aa3f7e3 authored by Alexey Sokolov's avatar Alexey Sokolov

route_replies: fix module to check if we are not connected to a network.

Cherry-pick of 34db7be4
parent d596226d
......@@ -310,9 +310,9 @@ public:
virtual EModRet OnUserRaw(CString& sLine) override
CString sCmd = sLine.Token(0).AsUpper();
if (!GetNetwork()->GetIRCSock())
return CONTINUE;
if (!GetNetwork()->GetIRCSock() ||
return CONTINUE;
if (sCmd.Equals("MODE")) {
// Check if this is a mode request that needs to be handled
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment