X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_blockamsg.cpp;h=cf09bfecdd32d6840d270b8a69187a5e53783d17;hb=82243d9beb827fca5708efe9e047ff2fec4bfe8c;hp=c0fb7651e8b4fdd4147eb3604424017effde690e;hpb=3944d6cf0dbdb5afb714d3b027db0314ff830636;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp index c0fb7651e..cf09bfecd 100644 --- a/src/modules/m_blockamsg.cpp +++ b/src/modules/m_blockamsg.cpp @@ -68,7 +68,7 @@ public: virtual Version GetVersion() { - return Version(1,0,0,0,VF_VENDOR); + return Version(1,0,0,0,VF_VENDOR,API_VERSION); } virtual void OnRehash(const std::string ¶meter) @@ -95,7 +95,7 @@ public: DELETE(Conf); } - virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, userrec *user, bool validated) + virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, userrec *user, bool validated, const std::string &original_line) { // Don't do anything with unregistered users, or remote ones. if(!user || (user->registered != REG_ALL) || !IS_LOCAL(user))