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/m_opermodes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_opermodes.cpp') diff --git a/src/modules/m_opermodes.cpp b/src/modules/m_opermodes.cpp index 63a926407..dbc34bcb5 100644 --- a/src/modules/m_opermodes.cpp +++ b/src/modules/m_opermodes.cpp @@ -40,7 +40,7 @@ class ModuleModesOnOper : public Module List[I_OnPostOper] = List[I_OnRehash] = 1; } - virtual void OnRehash(const std::string ¶meter) + virtual void OnRehash(userrec* user, const std::string ¶meter) { DELETE(Conf); Conf = new ConfigReader(ServerInstance); -- cgit v1.2.3