summaryrefslogtreecommitdiff
path: root/src/commands/cmd_nick.cpp
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-11 18:03:17 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-11 18:03:17 +0000
commite4839dc44353952dde32620035c07863b918eb15 (patch)
tree1c8a6f30c76c320b9aceb916f2c58645b1906b29 /src/commands/cmd_nick.cpp
parentdeb81c174517475845e28b6e24c40cdf3f8fb4f5 (diff)
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
Diffstat (limited to 'src/commands/cmd_nick.cpp')
-rw-r--r--src/commands/cmd_nick.cpp6
1 files changed, 3 insertions, 3 deletions
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<std::string>& 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<std::string> 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;
}