From eda35fbe4751f4922a04863bbf2227decd21b6b3 Mon Sep 17 00:00:00 2001 From: prozacx Date: Mon, 16 May 2005 01:26:44 +0000 Subject: [PATCH] Added GetMaxNickLen() git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@310 726aef4b-f618-498e-8847-2d620e286838 --- IRCSock.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/IRCSock.h b/IRCSock.h index 5978bf06..4f4cdd26 100644 --- a/IRCSock.h +++ b/IRCSock.h @@ -54,7 +54,7 @@ public: // !Setters // Getters - + unsigned int GetMaxNickLen() const { return m_uMaxNickLen; } EChanModeArgs GetModeType(unsigned char uMode) const; unsigned char GetPermFromMode(unsigned char uMode) const; const map& GetChanModes() const { return m_mueChanModes; } @@ -83,6 +83,7 @@ protected: CBuffer m_MotdBuffer; CUserSock* m_pUserSock; map m_msChans; + unsigned int m_uMaxNickLen; unsigned int m_uQueryBufferCount; CBuffer m_QueryBuffer; };