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/nickcore.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/nickcore.cpp')
-rw-r--r-- | src/nickcore.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nickcore.cpp b/src/nickcore.cpp index 565a23a26..2996c6afc 100644 --- a/src/nickcore.cpp +++ b/src/nickcore.cpp @@ -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)); |