Wrapped TSocketManager into CSockManager

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@650 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2006-02-12 21:00:59 +00:00
parent 3d7bf1fce8
commit 0eaf9bdc1e
9 changed files with 25 additions and 21 deletions

View File

@@ -353,7 +353,7 @@ void CClient::ReadLine(const CString& sData) {
if (strncasecmp(sTarget.c_str(), m_pUser->GetStatusPrefix().c_str(), m_pUser->GetStatusPrefix().length()) == 0) {
} else {
// Need to lookup the connection by port, filter the port, and forward to the user
TSocketManager<Csock>& Manager = CZNC::Get().GetManager();
CSockManager& Manager = CZNC::Get().GetManager();
for (unsigned int a = 0; a < Manager.size(); a++) {
CDCCBounce* pSock = (CDCCBounce*) Manager[a];
@@ -882,7 +882,7 @@ void CClient::UserCommand(const CString& sLine) {
m_pUser->SendFile(GetNick(), sFile);
}
} else if (sCommand.CaseCmp("LISTDCCS") == 0) {
TSocketManager<Csock>& Manager = CZNC::Get().GetManager();
CSockManager& Manager = CZNC::Get().GetManager();
CTable Table;
Table.AddColumn("Type");