X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_conn_waitpong.cpp;h=4c27efec2e6d5b1dcdf8b7e439f5fe03bfd330cc;hb=89fc6ca9c66198fe54cce19d59279cd454fc1bd0;hp=12ab91c34685ae1ac6513dfc6dc8d0f453c24a60;hpb=cadc11999ee28545e9beb92de116c151832af5c4;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_conn_waitpong.cpp b/src/modules/m_conn_waitpong.cpp index 12ab91c34..4c27efec2 100644 --- a/src/modules/m_conn_waitpong.cpp +++ b/src/modules/m_conn_waitpong.cpp @@ -2,7 +2,7 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2007 InspIRCd Development Team + * InspIRCd: (C) 2002-2008 InspIRCd Development Team * See: http://www.inspircd.org/wiki/index.php/Credits * * This program is free but copyrighted software; see @@ -45,10 +45,6 @@ class ModuleWaitPong : public Module killonbadreply = true; } - void Implements(char* List) - { - List[I_OnUserRegister] = List[I_OnCheckReady] = List[I_OnPreCommand] = List[I_OnRehash] = List[I_OnUserDisconnect] = List[I_OnCleanup] = 1; - } char* RandString(unsigned int length) { @@ -73,7 +69,7 @@ class ModuleWaitPong : public Module return 0; } - virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, User* user, bool validated, const std::string &original_line) + virtual int OnPreCommand(const std::string &command, const char* const* parameters, int pcnt, User* user, bool validated, const std::string &original_line) { if (command == "PONG") { @@ -139,7 +135,7 @@ class ModuleWaitPong : public Module virtual Version GetVersion() { - return Version(1, 1, 0, 1, VF_VENDOR, API_VERSION); + return Version(1, 2, 0, 1, VF_VENDOR, API_VERSION); } };