Remove some IMHO dangerous functions

Instead, these functions are now inlined into their only caller. This should
make the user and network destruction a little saner. At least I hope so...

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter
2011-08-29 12:52:21 +02:00
parent bd3e6d3f7b
commit 9c9e40a3d7
5 changed files with 40 additions and 63 deletions
-5
View File
@@ -180,12 +180,7 @@ bool CZNC::HandleUserDeletion()
}
}
pUser->DelNetworks();
pUser->DelClients();
pUser->DelModules();
CWebSock::FinishUserSessions(*pUser);
AddBytesRead(pUser->BytesRead());
AddBytesWritten(pUser->BytesWritten());
delete pUser;
}