]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/users.cpp
added added "./configure -svnupdate rebuild"
[user/henk/code/inspircd.git] / src / users.cpp
index beccb7e66afe495ef439b27ee93c29c58ff9b7fa..c7f74da0b95b0ac8f2ee0cd374778984adc5a23a 100644 (file)
@@ -88,8 +88,6 @@ bool DoType(const char* tag, char** entries, void** values, int* types)
 {
        char* TypeName = (char*)values[0];
        char* Classes = (char*)values[1];
-       /*Config->ConfValue("type","name",j,TypeName,&Config->config_f);
-       Config->ConfValue("type","classes",j,Classes,&Config->config_f);*/
        opertypes[TypeName] = strdup(Classes);
        log(DEBUG,"Read oper TYPE '%s' with classes '%s'",TypeName,Classes);
        return true;
@@ -99,25 +97,16 @@ bool DoClass(const char* tag, char** entries, void** values, int* types)
 {
        char* ClassName = (char*)values[0];
        char* CommandList = (char*)values[1];
-       /*Config->ConfValue("class","name",k,ClassName,&Config->config_f);
-       Config->ConfValue("class","commands",k,CommandList,&Config->config_f);*/
        operclass[ClassName] = strdup(CommandList);
        log(DEBUG,"Read oper CLASS '%s' with commands '%s'",ClassName,CommandList);
        return true;
 }
 
-bool DoneClassesAndTypes()
+bool DoneClassesAndTypes(const char* tag)
 {
        return true;
 }
 
-template<typename T> inline string ConvToStr(const T &in)
-{
-        stringstream tmp;
-        if (!(tmp << in)) return string();
-        return tmp.str();
-}
-
 userrec::userrec()
 {
        // the PROPER way to do it, AVOID bzero at *ALL* costs