projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e48847e
)
Including state object in 'irc connecting' module event
author
Darren
<darren@darrenwhitlen.com>
Sat, 31 May 2014 20:14:53 +0000
(21:14 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Sat, 31 May 2014 20:14:53 +0000
(21:14 +0100)
server/irc/state.js
patch
|
blob
|
blame
|
history
diff --git
a/server/irc/state.js
b/server/irc/state.js
index 375f63dae9009b24e8176c243a247b38e82527b7..bd89fcca1afe273e8ea42994e29d2116f9b24c4a 100755
(executable)
--- a/
server/irc/state.js
+++ b/
server/irc/state.js
@@
-79,7
+79,7
@@
State.prototype.connect = function (hostname, port, ssl, nick, user, options, ca
});
// Call any modules before making the connection
- global.modules.emit('irc connecting', {connection: con})
+ global.modules.emit('irc connecting', {
state: this,
connection: con})
.done(function () {
con.connect();
});