summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-23 00:08:26 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-23 00:08:26 +0000
commitc74e7355229dea1530bc544fdc31a41a737c9977 (patch)
tree6c410bd0bfa695aa793ac4824bfe50f9aa5de6d3
parent3a72729e036da4408c9e2c67dddf487224a2a696 (diff)
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
-rw-r--r--src/modules/m_conn_waitpong.cpp5
1 files changed, 2 insertions, 3 deletions
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 &param)
{
- ConfigReader Conf(Instance);
+ ConfigReader Conf(ServerInstance);
sendsnotice = Conf.ReadFlag("waitpong", "sendsnotice", 0);