diff --git a/include/znc/Chan.h b/include/znc/Chan.h index 8bc782d5..2c448eb3 100644 --- a/include/znc/Chan.h +++ b/include/znc/Chan.h @@ -92,7 +92,7 @@ public: // Buffer const CBuffer& GetBuffer() const { return m_Buffer; } unsigned int GetBufferCount() const { return m_Buffer.GetLineCount(); } - bool SetBufferCount(unsigned int u, bool bForce = false) { m_bHasBufferCountSet = true; return m_Buffer.SetLineCount(u, bForce); }; + bool SetBufferCount(unsigned int u, bool bForce = false) { m_bHasBufferCountSet = true; return m_Buffer.SetLineCount(u, bForce); } void InheritBufferCount(unsigned int u, bool bForce = false) { if (!m_bHasBufferCountSet) m_Buffer.SetLineCount(u, bForce); } size_t AddBuffer(const CString& sFormat, const CString& sText = "", const timeval* ts = NULL) { return m_Buffer.AddLine(sFormat, sText, ts); } void ClearBuffer() { m_Buffer.Clear(); } diff --git a/include/znc/IRCNetwork.h b/include/znc/IRCNetwork.h index 28aff9f6..ec4c6ff4 100644 --- a/include/znc/IRCNetwork.h +++ b/include/znc/IRCNetwork.h @@ -73,7 +73,7 @@ public: CUser* GetUser(); const CString& GetName() const; - bool IsNetworkAttached() const { return !m_vClients.empty(); }; + bool IsNetworkAttached() const { return !m_vClients.empty(); } std::vector& GetClients() { return m_vClients; } void SetUser(CUser *pUser); @@ -103,8 +103,8 @@ public: CQuery* AddQuery(const CString& sName); bool DelQuery(const CString& sName); - const CString& GetChanPrefixes() const { return m_sChanPrefixes; }; - void SetChanPrefixes(const CString& s) { m_sChanPrefixes = s; }; + const CString& GetChanPrefixes() const { return m_sChanPrefixes; } + void SetChanPrefixes(const CString& s) { m_sChanPrefixes = s; } bool IsChan(const CString& sChan) const; const std::vector& GetServers() const;