From 42d5b9571eff06b0c33093dc9118c29f9603fd2b Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 1 Jan 2007 20:53:20 +0000 Subject: Fix to allow for OnRehash to know what user initiated the rehash git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6207 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqlauth.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/extra/m_sqlauth.cpp') diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp index b2b7c9044..7130439e0 100644 --- a/src/modules/extra/m_sqlauth.cpp +++ b/src/modules/extra/m_sqlauth.cpp @@ -50,7 +50,7 @@ public: if (!SQLutils) throw ModuleException("Can't find m_sqlutils.so. Please load m_sqlutils.so before m_sqlauth.so."); - OnRehash(""); + OnRehash(NULL,""); } virtual ~ModuleSQLAuth() @@ -64,7 +64,7 @@ public: List[I_OnUserDisconnect] = List[I_OnCheckReady] = List[I_OnRequest] = List[I_OnRehash] = List[I_OnUserRegister] = 1; } - virtual void OnRehash(const std::string ¶meter) + virtual void OnRehash(userrec* user, const std::string ¶meter) { ConfigReader Conf(Srv); -- cgit v1.2.3