]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_foobar.cpp
Make User:: nick/ident/dhost/fullname and some other things std::string instead of...
[user/henk/code/inspircd.git] / src / modules / m_foobar.cpp
index d9254c4359d38d385028a5a45f957a1b93a1bcce..667a739a5bfdd51f4603ae3f17f35863cc669ebc 100644 (file)
@@ -86,11 +86,8 @@ class ModuleFoobar : public Module
                ServerInstance->Logs->Log("m_foobar",DEBUG,"Foobar: User "+b+" parted "+c);
        }
 
-       virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs)
+       virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs, const std::string &keygiven)
        {
-               if (chan->IsExtBanned(user, 'n'))
-                       return 1;
-
                return 0;
        }
 };