summaryrefslogtreecommitdiff
path: root/src/modules/m_nicklock.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 18:04:19 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 18:04:19 +0000
commitfd2eb26472bcc0b7b144f40523ff820cba82f574 (patch)
tree367926c5a429de9eca5db303c8d12d146fa8c6c8 /src/modules/m_nicklock.cpp
parentafa1ec0e9586d93482b5dfdc2d77e93c9499ea10 (diff)
Move IsNick, IsIdent into class InspIRCd, update modules that use it.
Change message.h to just a #warning saying its deprecated, and remove all use of it from the core :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4847 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r--src/modules/m_nicklock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index 58a4c2686..f6f88993a 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -53,7 +53,7 @@ class cmd_nicklock : public command_t
user->WriteServ("946 %s %s :This user's nickname is already locked.",user->nick,source->nick);
return;
}
- if (Srv->IsNick(std::string(parameters[1])))
+ if (ServerInstance->IsNick(parameters[1]))
{
// give them a lock flag
ServerInstance->WriteOpers(std::string(user->nick)+" used NICKLOCK to change and hold "+parameters[0]+" to "+parameters[1]);