From 04200cc8382519c8ea18d214002bc0f063be7d3c Mon Sep 17 00:00:00 2001 From: Naram Qashat Date: Thu, 29 Jul 2010 08:12:54 -0400 Subject: Made all of IRCDProto use const pointers, with the exception of SendVhostDel because of the Unreal protocol module, it makes me sad. --- modules/core/ns_logout.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/core') 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(); -- cgit