mask = p;
if(EmptyString(mask))
+ {
+ sendto_one_notice(source_p, "Invalid syntax for TESTLINE");
return;
+ }
}
if((p = strchr(mask, '@')))
host = p;
if(EmptyString(host))
+ {
+ sendto_one_notice(source_p, "Invalid syntax for TESTLINE");
return;
+ }
}
else
host = mask;
sendto_one_numeric(source_p, RPL_STATSILINE, form_str(RPL_STATSILINE),
aconf->info.name, EmptyString(aconf->spasswd) ? "<NULL>" : aconf->spasswd,
show_iline_prefix(source_p, aconf, aconf->user),
- aconf->host, aconf->port, aconf->className);
+ aconf->host, aconf->port, aconf->className,
+ CheckEmpty(aconf->desc));
return;
}
mask = p + 1;
if(EmptyString(mask))
+ {
+ sendto_one_notice(source_p, "Invalid syntax for TESTKLINE");
return;
+ }
}
if ((p = strchr(mask, '@')))
host = p;
if(EmptyString(host))
+ {
+ sendto_one_notice(source_p, "Invalid syntax for TESTKLINE");
return;
+ }
}
else
{