X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_shun.cpp;h=b4adc93002c2eebffa8ffb7434b2381043e92645;hb=b43fc66c17c2bef6dca66a966676b8128d5774ee;hp=599d665a114eff445b31f0d97a14b63d7f5fe874;hpb=6d03943426dcce76ba66567a9b18425a5ebb4c0c;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index 599d665a1..b4adc9300 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -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); } };