projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c14b67a
)
New IRC connection - don't send redundant con_num to client on connection error
author
Darren
<darren@darrenwhitlen.com>
Sat, 28 Sep 2013 13:18:09 +0000
(14:18 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Sat, 28 Sep 2013 13:18:09 +0000
(14:18 +0100)
server/irc/state.js
patch
|
blob
|
blame
|
history
diff --git
a/server/irc/state.js
b/server/irc/state.js
index f8b7ca9bd70943f8eae1ecaa63af61c435a5ba93..7a0d3857fd8915b646321c2155a800f0f3ea562e 100755
(executable)
--- a/
server/irc/state.js
+++ b/
server/irc/state.js
@@
-66,7
+66,7
@@
State.prototype.connect = function (hostname, port, ssl, nick, user, options, ca
con.on('error', function IrcConnectionError(err) {
console.log('irc_connection error (' + hostname + '):', err);
- return callback(err.code
, {server: con_num, error: err}
);
+ return callback(err.code);
});
con.on('close', function IrcConnectionClose() {