From: <ps...@us...> - 2009-03-01 14:22:42
|
Revision: 1405 http://znc.svn.sourceforge.net/znc/?rev=1405&view=rev Author: psychon Date: 2009-03-01 13:07:11 +0000 (Sun, 01 Mar 2009) Log Message: ----------- Only add WALLOPS to the buffer if no client is attached Thanks to flakes for finding this. Modified Paths: -------------- trunk/IRCSock.cpp Modified: trunk/IRCSock.cpp =================================================================== --- trunk/IRCSock.cpp 2009-02-27 20:58:34 UTC (rev 1404) +++ trunk/IRCSock.cpp 2009-03-01 13:07:11 UTC (rev 1405) @@ -614,7 +614,9 @@ sMsg.LeftChomp(); } - m_pUser->AddQueryBuffer(":" + Nick.GetNickMask() + " WALLOPS ", ":" + m_pUser->AddTimestamp(sMsg), false); + if (!m_pUser->IsUserAttached()) { + m_pUser->AddQueryBuffer(":" + Nick.GetNickMask() + " WALLOPS ", ":" + m_pUser->AddTimestamp(sMsg), false); + } } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |