From 9dc995ef05ba924a9b964399980a74a37402b3d4 Mon Sep 17 00:00:00 2001 From: Darren Date: Wed, 8 Oct 2014 10:47:31 +0100 Subject: [PATCH] /away command support --- client/src/misc/clientuicommands.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/src/misc/clientuicommands.js b/client/src/misc/clientuicommands.js index 8a9abbe..4b0e75b 100644 --- a/client/src/misc/clientuicommands.js +++ b/client/src/misc/clientuicommands.js @@ -81,6 +81,7 @@ 'command:server': serverCommand, 'command:whois': whoisCommand, 'command:whowas': whowasCommand, + 'command:away': awayCommand, 'command:encoding': encodingCommand, 'command:channel': channelCommand, 'command:applet': appletCommand, @@ -492,6 +493,11 @@ } + function awayCommand (ev) { + this.app.connections.active_connection.gateway.raw('AWAY :' + ev.params.join(' ')); + } + + function encodingCommand (ev) { var that = this; -- 2.25.1