diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-29 08:12:54 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-29 08:12:54 -0400 |
commit | 04200cc8382519c8ea18d214002bc0f063be7d3c (patch) | |
tree | 19537e1d5a53f3f0a5b8e965bec21ae2aa405974 /src/nickalias.cpp | |
parent | 06cb137fdea7ef68d020482ffac326c4d988945f (diff) |
Made all of IRCDProto use const pointers, with the exception of SendVhostDel because of the Unreal protocol module, it makes me sad.
Diffstat (limited to 'src/nickalias.cpp')
-rw-r--r-- | src/nickalias.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nickalias.cpp b/src/nickalias.cpp index c18f93005..0abfa860b 100644 --- a/src/nickalias.cpp +++ b/src/nickalias.cpp @@ -73,6 +73,7 @@ NickAlias::~NickAlias() if ((u = finduser(this->nick)) && u->Account()) { ircdproto->SendAccountLogout(u, u->Account()); + u->RemoveMode(NickServ, UMODE_REGISTERED); ircdproto->SendUnregisteredNick(u); u->Logout(); } |