projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55ccaf5
)
Fix off-by-one error in checking node version
author
Jack Allnutt
<m2ys4u@gmail.com>
Wed, 3 Apr 2013 19:13:47 +0000
(20:13 +0100)
committer
Jack Allnutt
<m2ys4u@gmail.com>
Wed, 3 Apr 2013 19:13:47 +0000
(20:13 +0100)
server/irc/connection.js
patch
|
blob
|
blame
|
history
diff --git
a/server/irc/connection.js
b/server/irc/connection.js
index 528c9a967ce9e8aa766d6840a6004743e8cce684..d4f1a032276cec4b2813e19e61342bcc25a78ce5 100644
(file)
--- a/
server/irc/connection.js
+++ b/
server/irc/connection.js
@@
-14,9
+14,9
@@
var net = require('net'),
var version_values = process.version.substr(1).split('.').map(function (item) {
return parseInt(item, 10);
});
-
+
// If we have a suitable Nodejs version, bring int he socks functionality
-if (version_values[
0
] >= 10) {
+if (version_values[
1
] >= 10) {
Socks = require('../socks.js');
}