projects
/
KiwiIRC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't auto connect an IRC connection in the constructor
[KiwiIRC.git]
/
server
/
irc
/
connection.js
diff --git
a/server/irc/connection.js
b/server/irc/connection.js
index 2c9ad82949dcb08ffb236f1cb886434b61f913f7..df9b5b9b1ddec91919554a6659293cea8c21f70f 100644
(file)
--- a/
server/irc/connection.js
+++ b/
server/irc/connection.js
@@
-92,12
+92,6
@@
var IrcConnection = function (hostname, port, ssl, nick, user, pass, state) {
this.held_data = '';
this.applyIrcEvents();
-
- // Call any modules before making the connection
- global.modules.emit('irc connecting', {connection: this})
- .done(function () {
- that.connect();
- });
};
util.inherits(IrcConnection, EE);