Identfile: don't crash when ZNC is shutting down.

Thanks to Domin for reporting this.

Conflicts:

	modules/identfile.cpp
This commit is contained in:
Alexey Sokolov
2012-01-27 06:37:15 +07:00
committed by Kyle Fuller
parent 266382904e
commit 75ae156ba2
+1 -1
View File
@@ -98,7 +98,7 @@ public:
}
void ReleaseISpoof() {
DEBUG("Releasing ident spoof for user [" + m_pUser->GetUserName() + "]");
DEBUG("Releasing ident spoof for user [" + (m_pUser ? m_pUser->GetUserName() : "<no user>") + "]");
m_pIRCSock = NULL;