1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 19:16:37 +02:00

Log out users from their groups when they disconnect, keeps us from storing invalid pointers in the nickcore user list

This commit is contained in:
Adam
2010-06-27 14:41:57 -04:00
parent 9269d20a70
commit 6e1fa85cbc
2 changed files with 6 additions and 2 deletions
+2
View File
@@ -201,6 +201,8 @@ User::~User()
{
Alog(LOG_DEBUG_2) << "User::~User() called";
this->Logout();
if (Config.LogUsers)
{
const char *srealname = normalizeBuffer(this->realname);