X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/e787d3a226677e049a058de53406af31b25f1f61..e6f2e49e86b43f8a4f8ae212a5c5365e0fbaa6f3:/src/newconf.c 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);