Permalink
Browse files

Fix AddServerThrottle.

(cherry picked from commit 13040d9)
  • Loading branch information...
1 parent e69032a commit 1b9eace499941b912ec0254d345902048d7be373 @KiNgMaR KiNgMaR committed with DarthGandalf Feb 6, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 include/znc/znc.h
View
2 include/znc/znc.h
@@ -159,7 +159,7 @@ class CZNC {
const VCString& GetMotd() const { return m_vsMotd; }
// !MOTD
- void AddServerThrottle(CString sName) { m_sConnectThrottle.AddItem(sName); }
+ void AddServerThrottle(CString sName) { m_sConnectThrottle.AddItem(sName, true); }
bool GetServerThrottle(CString sName) { bool *b = m_sConnectThrottle.GetItem(sName); return (b && *b); }
void AddNetworkToQueue(CIRCNetwork *pNetwork);

0 comments on commit 1b9eace

Please sign in to comment.