diff options
Diffstat (limited to 'include')
-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 |