aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-06-28 23:01:38 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-06-28 23:01:38 +0200
commit134e19adf08fb3216debf96fbf07d8a76c5fecd2 (patch)
tree89e6562857f8d42221b5ccdd9918a80428ce6b12
parentfdff5f8c72552e8f677636e4c119616a684b2344 (diff)
downloadxK-134e19adf08fb3216debf96fbf07d8a76c5fecd2.tar.gz
xK-134e19adf08fb3216debf96fbf07d8a76c5fecd2.tar.xz
xK-134e19adf08fb3216debf96fbf07d8a76c5fecd2.zip
degesch: mark an issue with CAP echo-message
-rw-r--r--degesch.c4
1 files changed, 3 insertions, 1 deletions
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);