Permalink
Browse files

Fixed bug in SendToAllPluginCallbacks

  • Loading branch information...
1 parent ce59241 commit d695a3e6b4d9b8b2ed57776aaccd7a5819673163 @nickgammon committed Oct 23, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins.cpp
View
@@ -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

0 comments on commit d695a3e

Please sign in to comment.