mirror of
https://github.com/anope/anope.git
synced 2026-06-29 01:26:38 +02:00
Made all of IRCDProto use const pointers, with the exception of SendVhostDel because of the Unreal protocol module, it makes me sad.
This commit is contained in:
@@ -36,6 +36,7 @@ NickCore::~NickCore()
|
||||
{
|
||||
User *user = *it;
|
||||
ircdproto->SendAccountLogout(user, user->Account());
|
||||
user->RemoveMode(NickServ, UMODE_REGISTERED);
|
||||
ircdproto->SendUnregisteredNick(user);
|
||||
user->Logout();
|
||||
FOREACH_MOD(I_OnNickLogout, OnNickLogout(user));
|
||||
|
||||
Reference in New Issue
Block a user