- return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
- }
-
-
- ModResult OnUserPreNick(User* user, const std::string &newnick)
- {
- if (!IS_LOCAL(user))
- return MOD_RES_PASSTHRU;
-
- if (isdigit(newnick[0])) /* Allow a switch to a UID */
- return MOD_RES_PASSTHRU;
-
- if (User::NICKForced.get(user)) /* Allow forced nick changes */
- return MOD_RES_PASSTHRU;
-