From: Darren Date: Wed, 8 Oct 2014 09:47:31 +0000 (+0100) Subject: /away command support X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9dc995ef05ba924a9b964399980a74a37402b3d4;p=KiwiIRC.git /away command support --- 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;