diff --git a/src/newconf.c b/src/newconf.c index 233a05e..7a07675 100644 --- a/src/newconf.c +++ b/src/newconf.c @@ -577,13 +577,13 @@ conf_end_oper(struct TopConf *tc) else conf_report_error("Ignoring vhost setting for oper %s -- invalid hostmask.", yy_oper->name); - if(strlen(yy_oper->swhois < 400)) - yy_tmpoper->swhois = rb(strdup(yy_oper->swhois); + if(strlen(yy_oper->swhois) < 400) + yy_tmpoper->swhois = rb_strdup(yy_oper->swhois); else conf_report_error("Ignoring swhois setting for oper %s -- swhois too long.", yy_oper->name); - if(strlen(yy_oper->operstring < 400)) - yy_tmpoper->operstring = rb(strdup(yy_oper->operstring); + if(strlen(yy_oper->operstring) < 400) + yy_tmpoper->operstring = rb_strdup(yy_oper->operstring); else conf_report_error("Ignoring operstring setting for oper %s -- operstring too long.", yy_oper->name);