Fix multiple RPL_LISTEND replies when aborting a /LIST.

This commit is contained in:
Keith Buck 2011-01-02 00:43:11 -08:00
parent 26576db0b3
commit a0a6c0dd39
1 changed files with 0 additions and 2 deletions

View File

@ -114,7 +114,6 @@ static int m_list(struct Client *client_p, struct Client *source_p, int parc, co
if (source_p->localClient->safelist_data != NULL)
{
sendto_one_notice(source_p, ":/LIST aborted");
sendto_one(source_p, form_str(RPL_LISTEND), me.name, source_p->name);
safelist_client_release(source_p);
return 0;
}
@ -147,7 +146,6 @@ static int mo_list(struct Client *client_p, struct Client *source_p, int parc, c
if (source_p->localClient->safelist_data != NULL)
{
sendto_one_notice(source_p, ":/LIST aborted");
sendto_one(source_p, form_str(RPL_LISTEND), me.name, source_p->name);
safelist_client_release(source_p);
return 0;
}