diff options
| author | Adam <Adam@anope.org> | 2011-04-27 22:51:55 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-05-16 04:09:07 -0400 |
| commit | 8fb1604f649bec6f356770daf5df6bb8ab811bbf (patch) | |
| tree | 75ddfc26592a6357666e3f48fcb8cd20c693792b /include | |
| parent | 284af258bf3c4dc7f409722d66bb0ac59e01e37d (diff) | |
Fixed reading empty config values in the multiconfig code, caused by removal of DT_CHARPTR
Diffstat (limited to 'include')
| -rw-r--r-- | include/config.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/config.h b/include/config.h index 53d606ae8..8d2455c78 100644 --- a/include/config.h +++ b/include/config.h @@ -56,6 +56,8 @@ class CoreExport ValueItem /** Actual data */ Anope::string v; public: + /** Initialize with nothing */ + ValueItem(); /** Initialize with an int */ ValueItem(int); /** Initialize with a bool */ @@ -64,14 +66,6 @@ class CoreExport ValueItem ValueItem(const Anope::string &); /** Initialize with a long */ ValueItem(long); - /** Change value to a char pointer */ - //void Set(char *); - /** Change value to a const char pointer */ - void Set(const char *); - /** Change value to an std::string */ - void Set(const std::string &); - /** Change value to a ci::string */ - void Set(const ci::string &); /** Change value to an Anope::string */ void Set(const Anope::string &); /** Change value to an int */ |
