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
+1 -1
View File
@@ -89,7 +89,7 @@ public:
}
virtual void OnUserDetached() {
if (!m_pUser->IsUserAttached()) {
if (!m_pUser->IsUserAttached() && !m_pUser->IsBeingDeleted()) {
for (map<CString, set<CString> >::iterator it = m_msChans.begin(); it != m_msChans.end(); it++) {
set<CString>& ssNicks = it->second;