diff --git a/modules/identfile.cpp b/modules/identfile.cpp index 9a627258..a69020af 100644 --- a/modules/identfile.cpp +++ b/modules/identfile.cpp @@ -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() : "") + "]"); m_pIRCSock = NULL;