]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_shun.cpp
Make irc::sockets::* parameters consistent, add irc::sockets::mask
[user/henk/code/inspircd.git] / src / modules / m_shun.cpp
index 599d665a114eff445b31f0d97a14b63d7f5fe874..b4adc93002c2eebffa8ffb7434b2381043e92645 100644 (file)
@@ -236,7 +236,7 @@ class ModuleShun : public Module
                affectopers = MyConf.ReadFlag("shun", "affectopers", "no", 0);
        }
 
-       virtual void OnUserConnect(User* user)
+       virtual void OnUserConnect(LocalUser* user)
        {
                if (!IS_LOCAL(user))
                        return;
@@ -294,7 +294,7 @@ class ModuleShun : public Module
 
        virtual Version GetVersion()
        {
-               return Version("Provides the /shun command, which stops a user executing all commands except PING and PONG.",VF_VENDOR|VF_COMMON,API_VERSION);
+               return Version("Provides the /shun command, which stops a user executing all commands except PING and PONG.",VF_VENDOR|VF_COMMON);
        }
 };