projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1666d8d
)
adding /topic command - second haf of issue #5
author
Jack Allnutt
<m2ys4u@Gmail.com>
Wed, 27 Jul 2011 17:55:40 +0000
(18:55 +0100)
committer
Jack Allnutt
<m2ys4u@Gmail.com>
Wed, 27 Jul 2011 17:55:40 +0000
(18:55 +0100)
js/front.js
patch
|
blob
|
blame
|
history
diff --git
a/js/front.js
b/js/front.js
index 3cec34706fd0ea2c14187a72e97b7bd23a5b222e..6d7ea950a179384d5fc142d30eb25e6e057d27f1 100644
(file)
--- a/
js/front.js
+++ b/
js/front.js
@@
-274,6
+274,9
@@
var front = {
gateway.quit(msg.split(" ",2)[1]);
break;
+ case '/topic':
+ gateway.raw('TOPIC ' + front.cur_channel.name + ' :' + msg.split(" ", 2)[1]);
+ break;
default:
//front.cur_channel.addMsg(null, ' ', '--> Invalid command: '+parts[0].substring(1));
gateway.raw(msg.substring(1));