]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_foobar.cpp
Move all the parameters around AGAIN. See docs shortly
[user/henk/code/inspircd.git] / src / modules / m_foobar.cpp
index 7a8ac8e3234e6774fe557e5ac7435aabe72b3843..73572170fe1d87ed532af2406c4e02df8a76e365 100644 (file)
@@ -48,7 +48,7 @@ class ModuleFoobar : public Module
                // this method instantiates a class of type Version, and returns
                // the modules version information using it.
 
-               return Version(1,2,0,1,VF_VENDOR,API_VERSION);
+               return Version("$Id$", VF_VENDOR, API_VERSION);
        }
 
 
@@ -77,7 +77,7 @@ class ModuleFoobar : public Module
                ServerInstance->Logs->Log("m_foobar",DEBUG,"Foobar: User "+b+" joined "+c);
        }
 
-       virtual void OnUserPart(User* user, Channel* channel, const std::string &partreason, bool &silent)
+       virtual void OnUserPart(User* user, Channel* channel, std::string &partreason, bool &silent)
        {
                // method called when a user parts a channel