summaryrefslogtreecommitdiff
path: root/src/modules/m_nicklock.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 18:51:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-26 18:51:03 +0000
commit47c39f64a962d1875092b4ea31b16d93a1662734 (patch)
tree51c2f11a89acf3a3faefe22ab00d8edb7eda1462 /src/modules/m_nicklock.cpp
parent8cecef0f0b654b38758e22d43dc221769e4eb7b2 (diff)
More conversions to 'Implements'
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2661 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_nicklock.cpp')
-rw-r--r--src/modules/m_nicklock.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp
index 37e9d49bd..750b431cf 100644
--- a/src/modules/m_nicklock.cpp
+++ b/src/modules/m_nicklock.cpp
@@ -118,6 +118,11 @@ class ModuleNickLock : public Module
return Version(1,0,0,1,VF_VENDOR);
}
+ void Implements(char* List)
+ {
+ List[I_OnUserPreNick] = List[I_OnUserQuit] = 1;
+ }
+
virtual int OnUserPreNick(userrec* user, std::string newnick)
{
if (user->GetExt("nick_locked"))