projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0ad9f0
)
ircSocketDataHandler() fix
author
Darren
<darren@darrenwhitlen.com>
Fri, 5 Aug 2011 00:51:09 +0000
(
01:51
+0100)
committer
Darren
<darren@darrenwhitlen.com>
Fri, 5 Aug 2011 00:51:09 +0000
(
01:51
+0100)
node/kiwi.js
patch
|
blob
|
blame
|
history
diff --git
a/node/kiwi.js
b/node/kiwi.js
index 9731ffef197299483e39eca5558aaf3945f35518..bfd0e16a865a0c746ac9f7adb98f53ce9f325e38 100644
(file)
--- a/
node/kiwi.js
+++ b/
node/kiwi.js
@@
-418,7
+418,7
@@
var ircSocketDataHandler = function (data, websocket, ircSocket) {
ircSocket.holdLast = false;
ircSocket.held = '';
}
- if (data.substr(-
2
) === '\n') {
+ if (data.substr(-
1
) === '\n') {
ircSocket.holdLast = true;
}
data = data.split("\n");