From 8fb1604f649bec6f356770daf5df6bb8ab811bbf Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 27 Apr 2011 22:51:55 -0400 Subject: Fixed reading empty config values in the multiconfig code, caused by removal of DT_CHARPTR --- include/config.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'include') 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 */ -- cgit