projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75681d8
)
Added /kick command
author
Darren
<darren@darrenwhitlen.com>
Fri, 9 Sep 2011 15:06:54 +0000
(16:06 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Fri, 9 Sep 2011 15:06:54 +0000
(16:06 +0100)
js/front.js
patch
|
blob
|
blame
|
history
diff --git
a/js/front.js
b/js/front.js
index c7192473bccf994584746004c291f1c39b26e025..d103456da6a649009680143bacfa0d5c1f79f4bb 100644
(file)
--- a/
js/front.js
+++ b/
js/front.js
@@
-316,7
+316,12
@@
var front = {
}
break;
-
+ case '/k':
+ case '/kick':
+ if (typeof parts[1] === 'undefined') return;
+ gateway.raw('KICK ' + front.cur_channel.name + ' ' + msg.split(' ', 2)[1]);
+ break;
+
case '/quote':
gateway.raw(msg.replace(/^\/quote /i, ''));
break;