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

Added in a modestacker and rewrote almost all of the remaining old mode code

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2696 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2009-12-13 19:32:19 +00:00
parent 3a956c51be
commit a7ac6a0ac7
34 changed files with 2086 additions and 1837 deletions
+3 -3
View File
@@ -65,10 +65,10 @@ NickAlias::~NickAlias()
/* Second thing to do: look for an user using the alias
* being deleted, and make appropriate changes */
if ((u = finduser(this->nick)))
if ((u = finduser(this->nick)) && u->nc)
{
if (ircd->modeonunreg)
common_svsmode(finduser(this->nick), ircd->modeonunreg, "1");
ircdproto->SendAccountLogout(u, u->nc);
ircdproto->SendUnregisteredNick(u);
u->nc = NULL;
}