diff options
| author | Adam <Adam@anope.org> | 2011-08-25 00:36:04 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-09-10 01:58:38 -0400 |
| commit | d4db2b84f250b98ec3422f2be9951f567e6dc97e (patch) | |
| tree | 3c119be0fa5a5f166664858a0cea0c9344e1db7e /include/extern.h | |
| parent | bb8e04c83588b6d0595eca463170643a3bd84285 (diff) | |
Made the IsValidHost checks configurable
Diffstat (limited to 'include/extern.h')
| -rw-r--r-- | include/extern.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/extern.h b/include/extern.h index 1772c965c..b62997aad 100644 --- a/include/extern.h +++ b/include/extern.h @@ -159,10 +159,8 @@ E time_t dotime(const Anope::string &s); E Anope::string duration(const time_t &seconds, NickCore *nc = NULL); E Anope::string expire_left(NickCore *nc, time_t expires); E Anope::string do_strftime(const time_t &t, NickCore *nc = NULL, bool short_output = false); -E bool doValidHost(const Anope::string &host, int type); - -E bool isValidHost(const Anope::string &host, int type); -E bool isvalidchar(char c); +E bool IsValidIdent(const Anope::string &ident); +E bool IsValidHost(const Anope::string &host); E Anope::string myStrGetToken(const Anope::string &str, char dilim, int token_number); E Anope::string myStrGetTokenRemainder(const Anope::string &str, char dilim, int token_number); |
