From c74e7355229dea1530bc544fdc31a41a737c9977 Mon Sep 17 00:00:00 2001 From: peavey Date: Wed, 23 May 2007 00:08:26 +0000 Subject: One more with redundant ref to instance. I think this is the last one. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7124 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_conn_waitpong.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/modules/m_conn_waitpong.cpp b/src/modules/m_conn_waitpong.cpp index 20d20bd7c..f271bfa03 100644 --- a/src/modules/m_conn_waitpong.cpp +++ b/src/modules/m_conn_waitpong.cpp @@ -20,21 +20,20 @@ class ModuleWaitPong : public Module { - InspIRCd* Instance; bool sendsnotice; bool killonbadreply; const char* extenstr; public: ModuleWaitPong(InspIRCd* Me) - : Module(Me), Instance(Me), extenstr("waitpong_pingstr") + : Module(Me), extenstr("waitpong_pingstr") { OnRehash(NULL,""); } virtual void OnRehash(userrec* user, const std::string ¶m) { - ConfigReader Conf(Instance); + ConfigReader Conf(ServerInstance); sendsnotice = Conf.ReadFlag("waitpong", "sendsnotice", 0); -- cgit v1.2.3