projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b2bb94
)
Herp derp, correct check for null
author
Jack Allnutt
<m2ys4u@Gmail.com>
Fri, 18 Nov 2011 12:59:27 +0000
(12:59 +0000)
committer
Jack Allnutt
<m2ys4u@Gmail.com>
Fri, 18 Nov 2011 12:59:27 +0000
(12:59 +0000)
server/app.js
patch
|
blob
|
blame
|
history
diff --git
a/server/app.js
b/server/app.js
index 74bc4c88c7953463407801ebad656a3ae90fd428..2837edb47b1f8a448bdeb645117c2b0d0ead10ab 100644
(file)
--- a/
server/app.js
+++ b/
server/app.js
@@
-873,7
+873,7
@@
this.websocketConnection = function (websocket) {
callback = eol;
eol = '\r\n';
}
- eol = ((typeof eol === 'undefined') || (
typeof eol === 'null'
)) ? '\r\n' : eol;
+ eol = ((typeof eol === 'undefined') || (
eol === null
)) ? '\r\n' : eol;
try {
websocket.ircConnection.write(data + eol, 'utf-8', callback);