From b1646030d4fe4fe55328663d5bf5632771395a02 Mon Sep 17 00:00:00 2001 From: prozacx Date: Wed, 6 Jul 2005 06:19:19 +0000 Subject: [PATCH] Added GetAllowedHosts() git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@416 726aef4b-f618-498e-8847-2d620e286838 --- User.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/User.h b/User.h index 4a393b9d..ae15f7af 100644 --- a/User.h +++ b/User.h @@ -83,7 +83,7 @@ public: void SetIRCNick(const CNick& n); void SetIRCServer(const CString& s); void SetQuitMsg(const CString& s); - void AddCTCPReply(const CString& sCTCP, const CString& sReply); + bool AddCTCPReply(const CString& sCTCP, const CString& sReply); void SetBufferCount(unsigned int u); void SetKeepBuffer(bool b); void SetAutoCycle(bool b); @@ -102,6 +102,7 @@ public: const CString& GetRealName() const; const CString& GetVHost() const; const CString& GetPass() const; + const set& GetAllowedHosts() const; CString FindModPath(const CString& sModule) const; const CString& GetCurPath() const;