From 9188742ca2a9093f2fed573f4c289d504bdb285d Mon Sep 17 00:00:00 2001 From: prozacx Date: Mon, 11 Jul 2005 00:07:00 +0000 Subject: [PATCH] Moved JoinChans() into CUser git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@430 726aef4b-f618-498e-8847-2d620e286838 --- Timers.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Timers.h b/Timers.h index 532bc535..9644f494 100644 --- a/Timers.h +++ b/Timers.h @@ -40,13 +40,7 @@ protected: CIRCSock* pSock = m_pUser->GetIRCSock(); if (pSock) { - const vector& vChans = m_pUser->GetChans(); - - for (unsigned int a = 0; a < vChans.size(); a++) { - if (!vChans[a]->IsOn()) { - pSock->PutServ("JOIN " + vChans[a]->GetName() + " " + vChans[a]->GetKey()); - } - } + m_pUser->JoinChans(); } }