sstrdup?!

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3431 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-03-02 17:22:40 +00:00
parent 4927edc5fb
commit e829227e6c
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
echo 3428
echo 3430

View File

@ -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);
}
}