diff options
Diffstat (limited to 'src/modules/m_conn_waitpong.cpp')
-rw-r--r-- | src/modules/m_conn_waitpong.cpp | 5 |
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 ¶m) { - ConfigReader Conf(Instance); + ConfigReader Conf(ServerInstance); sendsnotice = Conf.ReadFlag("waitpong", "sendsnotice", 0); |