diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-02 17:22:40 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-02 17:22:40 +0000 |
commit | e829227e6c1bde5026459773255b6dfca5960c61 (patch) | |
tree | 54e147ffa8e5581c8326782763c26ade08532f44 /src/users.cpp | |
parent | 4927edc5fb5be69ff745044f087b8e3f1fc539d8 (diff) |
sstrdup?!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3431 e03df62e-2008-0410-955e-edbf42e46eb7
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); } } |