From 1785a03c71a613fae72254d56dd59ff172dc125c Mon Sep 17 00:00:00 2001 From: silverleo Date: Sun, 21 Dec 2008 09:05:16 +0000 Subject: [PATCH] Dont try to join our sticky channels when the irc connection is not available. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1298 726aef4b-f618-498e-8847-2d620e286838 --- modules/stickychan.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/stickychan.cpp b/modules/stickychan.cpp index f076dc49..3d8dbfd2 100644 --- a/modules/stickychan.cpp +++ b/modules/stickychan.cpp @@ -76,6 +76,9 @@ public: virtual void RunJob() { + if (!m_pUser->GetIRCSock()) + return; + for (MCString::iterator it = BeginNV(); it != EndNV(); it++) { CChan *pChan = m_pUser->FindChan(it->first);