- return Version(1,2,0,0,VF_VENDOR,API_VERSION);
- }
-
- virtual int OnUserPreJoin(User *user, Channel *c, const char *cname, std::string &privs, const std::string &key)
- {
- if (!IS_LOCAL(user))
- return 0;
-
- if (!c)
- return 0;
-
- ServerInstance->Logs->Log("EXTBANS", DEBUG, "Checking if %s is banned", user->fullname.c_str());
-
- if (c->IsExtBanned(user->fullname, 'r'))