From 9c88a6aedf120e2181e920260409a75091768185 Mon Sep 17 00:00:00 2001 From: imaginos Date: Tue, 18 Mar 2008 15:14:23 +0000 Subject: [PATCH] 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 --- modules/schat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/schat.cpp b/modules/schat.cpp index 5c2e5faf..bdba6218 100644 --- a/modules/schat.cpp +++ b/modules/schat.cpp @@ -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;