mirror of
https://github.com/anope/anope.git
synced 2026-06-29 10:36:38 +02:00
Moved the core pseudo clients out into their own modules
This commit is contained in:
@@ -34,17 +34,6 @@ NickAlias::~NickAlias()
|
||||
{
|
||||
FOREACH_MOD(I_OnDelNick, OnDelNick(this));
|
||||
|
||||
/* Second thing to do: look for a user using the alias
|
||||
* being deleted, and make appropriate changes */
|
||||
User *u = finduser(this->nick);
|
||||
if (u && u->Account() == this->nc)
|
||||
{
|
||||
ircdproto->SendAccountLogout(u, u->Account());
|
||||
u->RemoveMode(NickServ, UMODE_REGISTERED);
|
||||
ircdproto->SendUnregisteredNick(u);
|
||||
u->Logout();
|
||||
}
|
||||
|
||||
/* Accept nicks that have no core, because of database load functions */
|
||||
if (this->nc)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user