From 3e309e9dfe9d3e74a122b15626dc51541baa24ed Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 23 Nov 2021 17:58:49 +0100 Subject: [PATCH] Ignore RPL_AWAY --- components/app.js | 1 + lib/irc.js | 1 + 2 files changed, 2 insertions(+) diff --git a/components/app.js b/components/app.js index 856206f..5025307 100644 --- a/components/app.js +++ b/components/app.js @@ -760,6 +760,7 @@ export default class App extends Component { case irc.RPL_ISUPPORT: case irc.RPL_ENDOFMOTD: case irc.ERR_NOMOTD: + case irc.RPL_AWAY: case irc.RPL_NOTOPIC: case irc.RPL_TOPIC: case irc.RPL_TOPICWHOTIME: diff --git a/lib/irc.js b/lib/irc.js index eebb44b..360b817 100644 --- a/lib/irc.js +++ b/lib/irc.js @@ -5,6 +5,7 @@ export const RPL_CREATED = "003"; export const RPL_MYINFO = "004"; export const RPL_ISUPPORT = "005"; export const RPL_UMODEIS = "221"; +export const RPL_AWAY = "301"; export const RPL_WHOISUSER = "311"; export const RPL_WHOISSERVER = "312"; export const RPL_WHOISOPERATOR = "313";