From 6298cb6282f1313799ed2cf4f7eb5693d7a22457 Mon Sep 17 00:00:00 2001 From: Danny van Heumen Date: Mon, 8 Sep 2014 22:52:51 +0200 Subject: [PATCH] Added marker for handling ERR_CANNOTSENDTOCHAN (404). --- .../java/sip/communicator/impl/protocol/irc/IrcStack.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/net/java/sip/communicator/impl/protocol/irc/IrcStack.java b/src/net/java/sip/communicator/impl/protocol/irc/IrcStack.java index 229f26472..25fb1018e 100644 --- a/src/net/java/sip/communicator/impl/protocol/irc/IrcStack.java +++ b/src/net/java/sip/communicator/impl/protocol/irc/IrcStack.java @@ -1118,6 +1118,10 @@ private final class ServerListener */ private final IRCApi irc; + // FIXME handle 404 ERR_CANNOTSENDTOCHAN in case of +n and not joined to + // channel (or channel is moderated - but we use ChatRoomListener for + // that). + /** * Constructor for Server Listener. * @@ -1470,6 +1474,9 @@ private final class ChatRoomListener */ private static final int IRC_ERR_NOTONCHANNEL = 442; + // FIXME Handle 404 ERR_CANNOTSENDTOCHAN in case of moderated channels + // (no voice) or +n and not joined. + /** * IRCApi instance. */