projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5db5955
)
Restore .action() as a convenience function
author
Jack Allnutt
<m2ys4u@Gmail.com>
Thu, 20 Oct 2011 10:03:41 +0000
(11:03 +0100)
committer
Jack Allnutt
<m2ys4u@Gmail.com>
Thu, 20 Oct 2011 10:03:41 +0000
(11:03 +0100)
client/js/gateway.js
patch
|
blob
|
blame
|
history
diff --git
a/client/js/gateway.js
b/client/js/gateway.js
index 1be71c396767231ddc5577bb51d4c64b7c82fb34..6b15932bda2cf5e8da32bd695e8eefe415c78831 100644
(file)
--- a/
client/js/gateway.js
+++ b/
client/js/gateway.js
@@
-170,6
+170,10
@@
kiwi.gateway = {
kiwi.gateway.sendData(data, callback);
},
+ action: function (target, msg, callback) {
+ this.ctcp(true, 'ACTION', target, msg, callback);
+ },
+
join: function (channel, key, callback) {
var data = {
method: 'join',