mirror of
https://github.com/znc/znc.git
synced 2026-07-03 08:21:57 +02:00
cleanup superfluous semi-colons
This commit is contained in:
+1
-1
@@ -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(); }
|
||||
|
||||
@@ -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<CClient*>& 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<CServer*>& GetServers() const;
|
||||
|
||||
Reference in New Issue
Block a user