From: <cf...@us...> - 2010-03-10 01:35:55
|
Revision: 1821 http://znc.svn.sourceforge.net/znc/?rev=1821&view=rev Author: cflakes Date: 2010-03-10 01:35:47 +0000 (Wed, 10 Mar 2010) Log Message: ----------- Fix previous commit. That's why I said let psychon do it. Hahaha. Seriously though, why does stuff return TRUE when it fails and FALSE when everything's fine? Pretty weird. Modified Paths: -------------- trunk/znc.cpp Modified: trunk/znc.cpp =================================================================== --- trunk/znc.cpp 2010-03-09 20:24:43 UTC (rev 1820) +++ trunk/znc.cpp 2010-03-10 01:35:47 UTC (rev 1821) @@ -1803,7 +1803,7 @@ << sErrorRet << "]"); return false; } - if (!GetModules().OnAddUser(*pUser, sErrorRet)) { + if (GetModules().OnAddUser(*pUser, sErrorRet)) { DEBUG("AddUser [" << pUser->GetUserName() << "] aborted by a module [" << sErrorRet << "]"); return false; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |