diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-16 15:05:46 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-16 15:05:46 +0000 |
commit | 0374d53d28b227e537768417b6b7f86ab1b5ca65 (patch) | |
tree | bd014b3a2c6fcfdc92e2dfa99fce93ff97bff565 /include/configreader.h | |
parent | 578755d6274daf2eb0de998477960a34755c5d51 (diff) |
Add 'w' and 'y' support to dotime(), also prevent a possible overflow - thanks to DP.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2093 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/configreader.h')
-rw-r--r-- | include/configreader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configreader.h b/include/configreader.h index b85bd7293..0e4700325 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -61,6 +61,8 @@ class ValueItem ValueItem(const char *); /** Initialize with an std::string */ ValueItem(const std::string &); + /** Initialize with time_t **/ + ValueItem(time_t); /** Change value to a char pointer */ //void Set(char *); /** Change value to a const char pointer */ |