diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-13 17:22:46 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-13 17:22:46 +0000 |
commit | 3555423633e1accae18bd804b4c4f9cd69ad33e9 (patch) | |
tree | 5ba2c1e4968265a31f2a881a853e3447548a3925 /include/modules.h | |
parent | 29ac7ce26d25dbf00a3edc08ecc0821ad7408bef (diff) |
Added IsValidHostMask
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1078 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index 0e8a6a865..a7a42991e 100644 --- a/include/modules.h +++ b/include/modules.h @@ -774,6 +774,9 @@ class Server : public classbase */ virtual long CalcDuration(std::string duration); + /** Returns true if a nick!ident@host string is correctly formatted, false if otherwise. + */ + virtual bool IsValidMask(std::string mask); }; #define CONF_NOT_A_NUMBER 0x000010 |