From 9ad393f677841586fd6ad9c8e25907fbcd84c2fe Mon Sep 17 00:00:00 2001 From: Keith Buck Date: Sun, 2 Jan 2011 00:43:11 -0800 Subject: [PATCH] Fix multiple RPL_LISTEND replies when aborting a /LIST. --- modules/m_list.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/m_list.c b/modules/m_list.c index ba83d898f..8901dbc67 100644 --- a/modules/m_list.c +++ b/modules/m_list.c @@ -115,7 +115,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; } @@ -148,7 +147,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; }