projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7be476
)
fix for bug where Kiwi is unable to connect to a server that supports CAP
author
Jack Allnutt
<m2ys4u@Gmail.com>
Mon, 8 Aug 2011 14:37:24 +0000
(15:37 +0100)
committer
Jack Allnutt
<m2ys4u@Gmail.com>
Mon, 8 Aug 2011 14:37:24 +0000
(15:37 +0100)
node/kiwi.js
patch
|
blob
|
blame
|
history
diff --git
a/node/kiwi.js
b/node/kiwi.js
index 40da463ebe535c3e3fd99652a71c58e1bcf57289..0a89b4fa063140ad604aea3c4bb69097f854381d 100644
(file)
--- a/
node/kiwi.js
+++ b/
node/kiwi.js
@@
-311,7
+311,7
@@
var parseIRCMessage = function (websocket, ircSocket, data) {
case 'CAP':
caps = config.cap_options;
options = msg.trailing.split(" ");
- switch (_.
fir
st(msg.params.split(" "))) {
+ switch (_.
la
st(msg.params.split(" "))) {
case 'LS':
opts = '';
_.each(_.intersect(caps, options), function (cap) {