Combine stats A output parameters (#35)

Every other use of RPL_STATSDEBUG follows the format: <letter> :<text>

This case appeared to slip through because it's two-word argument is encoded
in a single `->data` buffer.
This commit is contained in:
Eric Mertens 2020-10-27 16:39:38 -07:00 committed by GitHub
parent 0f8ec93849
commit 67ab06dd8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -288,7 +288,7 @@ stats_dns_servers (struct Client *source_p)
RB_DLINK_FOREACH(n, nameservers.head) RB_DLINK_FOREACH(n, nameservers.head)
{ {
sendto_one_numeric(source_p, RPL_STATSDEBUG, "A %s", (char *)n->data); sendto_one_numeric(source_p, RPL_STATSDEBUG, "A :%s", (char *)n->data);
} }
} }