Added AutoCycle and GetCurrentServer()

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@410 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-07-05 09:22:06 +00:00
parent 30e98ba2bb
commit 377dad7e5e
2 changed files with 17 additions and 0 deletions
+4
View File
@@ -36,6 +36,7 @@ public:
bool AddServer(const CString& sName);
bool AddServer(const CString& sName, unsigned short uPort, const CString& sPass = "", bool bSSL = false);
CServer* GetNextServer();
CServer* GetCurrentServer();
bool CheckPass(const CString& sPass);
bool AddAllowedHost(const CString& sHostMask);
bool IsHostAllowed(const CString& sHostMask);
@@ -85,6 +86,7 @@ public:
void AddCTCPReply(const CString& sCTCP, const CString& sReply);
void SetBufferCount(unsigned int u);
void SetKeepBuffer(bool b);
void SetAutoCycle(bool b);
// !Setters
// Getters
@@ -123,6 +125,7 @@ public:
const MCString& GetCTCPReplies() const;
unsigned int GetBufferCount() const;
bool KeepBuffer() const;
bool AutoCycle() const;
// !Getters
private:
protected:
@@ -155,6 +158,7 @@ protected:
bool m_bKeepNick;
bool m_bDenyLoadMod;
bool m_bKeepBuffer;
bool m_bAutoCycle;
CKeepNickTimer* m_pKeepNickTimer;
CJoinTimer* m_pJoinTimer;