From d695a3e6b4d9b8b2ed57776aaccd7a5819673163 Mon Sep 17 00:00:00 2001 From: Nick Gammon Date: Sun, 24 Oct 2010 06:55:27 +1100 Subject: [PATCH] Fixed bug in SendToAllPluginCallbacks --- plugins.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins.cpp b/plugins.cpp index 29475868..a86f6e86 100644 --- a/plugins.cpp +++ b/plugins.cpp @@ -1552,7 +1552,7 @@ bool CMUSHclientDoc::SendToAllPluginCallbacks (const string & sName, if (bStopOnTrue) return false; else - return !bStopOnFalse; // if they wanted to stop on true, assume false and vice-versa + return true; // if they wanted to stop on true, assume false and vice-versa } // end of CMUSHclientDoc::SendToAllPluginCallbacks @@ -1593,6 +1593,6 @@ bool CMUSHclientDoc::SendToAllPluginCallbacks (const string & sName, if (bStopOnTrue) return false; else - return !bStopOnFalse; // if they wanted to stop on true, assume false and vice-versa + return true; // if they wanted to stop on true, assume false and vice-versa } // end of CMUSHclientDoc::SendToAllPluginCallbacks