Added CUser::IsBeingDeleted() to allow for different messaging when a user is being deleted vs detaching or disconnecting

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@703 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2006-03-19 22:44:10 +00:00
parent 57fb9fc867
commit 0dd418181a
5 changed files with 24 additions and 5 deletions
+3
View File
@@ -125,6 +125,7 @@ public:
void SetKeepBuffer(bool b);
void SetAutoCycle(bool b);
void SetChanPrefixes(const CString& s) { m_sChanPrefixes = (s.empty()) ? "#&" : s; }
void SetBeingDeleted(bool b) { m_bBeingDeleted = b; }
// !Setters
// Getters
@@ -164,6 +165,7 @@ public:
unsigned int GetBufferCount() const;
bool KeepBuffer() const;
bool AutoCycle() const;
bool IsBeingDeleted() const { return m_bBeingDeleted; }
// !Getters
private:
protected:
@@ -202,6 +204,7 @@ protected:
bool m_bAdmin;
bool m_bKeepBuffer;
bool m_bAutoCycle;
bool m_bBeingDeleted;
CBackNickTimer* m_pBackNickTimer;
CAwayNickTimer* m_pAwayNickTimer;