degesch: mark an issue with CAP echo-message

This commit is contained in:
Přemysl Eric Janouch 2015-06-28 23:01:38 +02:00
parent fdff5f8c72
commit 134e19adf0

View File

@ -4034,7 +4034,9 @@ irc_get_buffer_for_message (struct server *s,
if (irc_is_this_us (s, target)) if (irc_is_this_us (s, target))
buffer = irc_get_or_make_user_buffer (s, nickname); buffer = irc_get_or_make_user_buffer (s, nickname);
// With the IRCv3.2 echo-message capability, we can receive messages // With the IRCv3.2 echo-message capability, we can receive messages
// as they are delivired to the target; in that case, check the origin // as they are delivered to the target; in that case, check the origin
// FIXME: this breaks /msg with CAP echo-message, we should return
// NULL and the caller should do this check instead and handle it
else if (soft_assert (irc_is_this_us (s, nickname))) else if (soft_assert (irc_is_this_us (s, nickname)))
buffer = irc_get_or_make_user_buffer (s, target); buffer = irc_get_or_make_user_buffer (s, target);
free (nickname); free (nickname);