From e4839dc44353952dde32620035c07863b918eb15 Mon Sep 17 00:00:00 2001 From: peavey Date: Sun, 11 Oct 2009 18:03:17 +0000 Subject: Move 2 static extensibles from user class to inspircd class for global access in an attempt to further fix windows build. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11838 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_nick.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/commands/cmd_nick.cpp') diff --git a/src/commands/cmd_nick.cpp b/src/commands/cmd_nick.cpp index bdaff8723..a6e1e88c7 100644 --- a/src/commands/cmd_nick.cpp +++ b/src/commands/cmd_nick.cpp @@ -52,16 +52,16 @@ CmdResult CommandNick::Handle (const std::vector& parameters, User if (((!ServerInstance->IsNick(parameters[0].c_str(), ServerInstance->Config->Limits.NickMax))) && (IS_LOCAL(user))) { - if (!User::NICKForced.get(user)) + if (!ServerInstance->NICKForced.get(user)) { if (parameters[0] == "0") { // Special case, Fake a /nick UIDHERE. Useful for evading "ERR: NICK IN USE" on connect etc. std::vector p2; p2.push_back(user->uuid); - User::NICKForced.set(user, 1); + ServerInstance->NICKForced.set(user, 1); this->Handle(p2, user); - User::NICKForced.set(user, 0); + ServerInstance->NICKForced.set(user, 0); return CMD_SUCCESS; } -- cgit v1.2.3