summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 7babc7bb7..eaea3f006 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -558,10 +558,10 @@ static bool DoClass(ServerConfig* conf, const char* tag, const char**, ValueList
}
}
- conf->operclass[ClassName].commandlist = strnewdup(CommandList);
- conf->operclass[ClassName].umodelist = strnewdup(UModeList);
- conf->operclass[ClassName].cmodelist = strnewdup(CModeList);
- conf->operclass[ClassName].privs = strnewdup(PrivsList);
+ conf->operclass[ClassName].commandlist = CommandList;
+ conf->operclass[ClassName].umodelist = UModeList;
+ conf->operclass[ClassName].cmodelist = CModeList;
+ conf->operclass[ClassName].privs = PrivsList;
return true;
}