]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Fix multiple RPL_LISTEND replies when aborting a /LIST.
authorKeith Buck <redacted>
Sun, 2 Jan 2011 08:43:11 +0000 (00:43 -0800)
committerKeith Buck <redacted>
Sun, 2 Jan 2011 08:43:11 +0000 (00:43 -0800)
modules/m_list.c

index 91a16787c6c2a4a16aaaccd9faffb945c16e8b15..f454037ad2d274c2332c781dcb14c389296980da 100644 (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;
        }