From 134e19adf08fb3216debf96fbf07d8a76c5fecd2 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 28 Jun 2015 23:01:38 +0200
Subject: degesch: mark an issue with CAP echo-message
---
degesch.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/degesch.c b/degesch.c
index dc9427e..b521555 100644
--- a/degesch.c
+++ b/degesch.c
@@ -4034,7 +4034,9 @@ irc_get_buffer_for_message (struct server *s,
if (irc_is_this_us (s, target))
buffer = irc_get_or_make_user_buffer (s, nickname);
// 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)))
buffer = irc_get_or_make_user_buffer (s, target);
free (nickname);
--
cgit v1.2.3-70-g09d2