m_stats: don't list alias entries twice.

This commit is contained in:
Elizabeth Myers 2016-04-06 11:45:55 -05:00
parent 9620c6d61c
commit 0d7e4d311a

View file

@ -744,14 +744,6 @@ stats_messages(struct Client *source_p)
msg->cmd, msg->count,
msg->bytes, msg->rcount);
}
RB_DICTIONARY_FOREACH(amsg, &iter, alias_dict)
{
s_assert(amsg->name != NULL);
sendto_one_numeric(source_p, RPL_STATSCOMMANDS,
form_str(RPL_STATSCOMMANDS),
amsg->name, amsg->hits, 0L, 0);
}
}
static void