diff options
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index 2d53ea374..fb41cd347 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -79,14 +79,14 @@ void ReadClassesAndTypes() { Config->ConfValue("type","name",j,TypeName,&Config->config_f); Config->ConfValue("type","classes",j,Classes,&Config->config_f); - opertypes[TypeName] = sstrdup(Classes); + opertypes[TypeName] = strdup(Classes); log(DEBUG,"Read oper TYPE '%s' with classes '%s'",TypeName,Classes); } for (int k =0; k < Config->ConfValueEnum("class",&Config->config_f); k++) { Config->ConfValue("class","name",k,ClassName,&Config->config_f); Config->ConfValue("class","commands",k,CommandList,&Config->config_f); - operclass[ClassName] = sstrdup(CommandList); + operclass[ClassName] = strdup(CommandList); log(DEBUG,"Read oper CLASS '%s' with commands '%s'",ClassName,CommandList); } } |