projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d6e050
)
/away command support
author
Darren
<darren@darrenwhitlen.com>
Wed, 8 Oct 2014 09:47:31 +0000
(10:47 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Wed, 8 Oct 2014 09:47:31 +0000
(10:47 +0100)
client/src/misc/clientuicommands.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/misc/clientuicommands.js
b/client/src/misc/clientuicommands.js
index 8a9abbea9bc43332247cbb049b27ba76f813f78b..4b0e75b06d63ec94ddbd568977686da2bbe11bd4 100644
(file)
--- 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;