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 /modules/core/ns_logout.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 'modules/core/ns_logout.cpp')
-rw-r--r-- | modules/core/ns_logout.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/core/ns_logout.cpp b/modules/core/ns_logout.cpp index dc744bbad..e0e8f0c7b 100644 --- a/modules/core/ns_logout.cpp +++ b/modules/core/ns_logout.cpp @@ -47,6 +47,7 @@ class CommandNSLogout : public Command notice_lang(Config.s_NickServ, u, NICK_LOGOUT_SUCCEEDED); ircdproto->SendAccountLogout(u2, u2->Account()); + u2->RemoveMode(NickServ, UMODE_REGISTERED); ircdproto->SendUnregisteredNick(u2); u2->Logout(); |