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. --- src/users.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 6d1b1fb7f..dd21a1ef9 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -826,6 +826,7 @@ User *do_nick(const Anope::string &source, const Anope::string &nick, const Anop /* If the new nick isnt registerd or its registerd and not yours */ if (!na || na->nc != user->Account()) { + user->RemoveMode(NickServ, UMODE_REGISTERED); ircdproto->SendUnregisteredNick(user); validate_user(user); -- cgit