summaryrefslogtreecommitdiff
path: root/modules/core/os_config.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-04-23 02:24:56 -0400
committerAdam <Adam@anope.org>2011-05-16 04:06:22 -0400
commit13aa58ce5db50083c751648f87df31b3db8dc82f (patch)
tree18ae81adf4bc5206b6d128de7281e549c39d20d0 /modules/core/os_config.cpp
parentc8c23158a4ff74822d6c7d201dc53d879e3d91e8 (diff)
Removed DT_CHARPTR from the config reader, its unneeded
Diffstat (limited to 'modules/core/os_config.cpp')
-rw-r--r--modules/core/os_config.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/core/os_config.cpp b/modules/core/os_config.cpp
index a4e129ed5..f2b87d474 100644
--- a/modules/core/os_config.cpp
+++ b/modules/core/os_config.cpp
@@ -88,13 +88,6 @@ class CommandOSConfig : public Command
vcs->Set(vi.GetValue());
break;
}
- case DT_CHARPTR:
- {
- ValueContainerChar *vcc = debug_cast<ValueContainerChar *>(v->val);
- // Make sure we also copy the null terminator
- vcc->Set(vi.GetString(), strlen(vi.GetString()) + 1);
- break;
- }
case DT_STRING:
{
ValueContainerString *vcs = debug_cast<ValueContainerString *>(v->val);