bug when trying to track down the right chat session

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@989 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
imaginos
2008-03-18 15:14:23 +00:00
parent 2578384277
commit 9c88a6aedf
+2 -2
View File
@@ -280,7 +280,7 @@ public:
} else if ( strcasecmp( sCom.c_str(), "close" ) == 0 )
{
CString sName = "SCHAT::" + m_pUser->GetUserName();
for( u_int a= 0; a < m_pManager->size(); a++ )
for( u_int a = 0; a < m_pManager->size(); a++ )
{
if ( strncmp( (*m_pManager)[a]->GetSockName().c_str(), sName.c_str(), sName.length() ) != 0 )
continue;
@@ -294,8 +294,8 @@ public:
pSock->Close();
return;
}
PutModule( "No Such Chat [" + sArgs + "]" );
}
PutModule( "No Such Chat [" + sArgs + "]" );
} else if ( strcasecmp( sCom.c_str(), "showsocks" ) == 0 )
{
CTable Table;