From 123eac3f25ce4dd3142b4ac66eb321f7df1e23e4 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 21 Oct 2009 23:45:19 +0000 Subject: Change module API to use LocalUser* where correct git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11943 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_lockserv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_lockserv.cpp') diff --git a/src/modules/m_lockserv.cpp b/src/modules/m_lockserv.cpp index 100b7864b..58f468c50 100644 --- a/src/modules/m_lockserv.cpp +++ b/src/modules/m_lockserv.cpp @@ -93,7 +93,7 @@ public: ResetLocked(); } - virtual ModResult OnUserRegister(User* user) + virtual ModResult OnUserRegister(LocalUser* user) { if (locked) { @@ -103,7 +103,7 @@ public: return MOD_RES_PASSTHRU; } - virtual ModResult OnCheckReady(User* user) + virtual ModResult OnCheckReady(LocalUser* user) { return locked ? MOD_RES_DENY : MOD_RES_PASSTHRU; } -- cgit v1.2.3