]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_blockamsg.cpp
Update $ModDep lines so that these properly depend on their headers in the makefile
[user/henk/code/inspircd.git] / src / modules / m_blockamsg.cpp
index 55f3d382997766a42914cc568426b6834976bc7f..1b5fee40bfac3b1f8c6ee81fdc66585eedba65db 100644 (file)
@@ -39,8 +39,8 @@ public:
        std::string message;
        irc::string target;
        time_t sent;
-       
-       BlockedMessage(std::string msg, irc::string tgt, time_t when) : message(msg), target(tgt), sent(when)
+
+       BlockedMessage(const std::string &msg, const irc::string &tgt, time_t when) : message(msg), target(tgt), sent(when)
        {
        }
 };
@@ -68,7 +68,7 @@ public:
        
        virtual Version GetVersion()
        {
-               return Version(1,0,0,0,VF_VENDOR);
+               return Version(1,1,0,0,VF_VENDOR,API_VERSION);
        }
        
        virtual void OnRehash(const std::string &parameter)