mirror of
https://github.com/znc/znc.git
synced 2026-08-08 01:43:03 +02:00
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:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user