projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a49f78
)
Module hook - 'client created'
author
Darren
<darren@darrenwhitlen.com>
Mon, 23 Sep 2013 19:10:01 +0000
(20:10 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Mon, 23 Sep 2013 19:10:01 +0000
(20:10 +0100)
server/weblistener.js
patch
|
blob
|
blame
|
history
diff --git
a/server/weblistener.js
b/server/weblistener.js
index 25d2688650d3e1e4f4cd2e0191b976d5a8e00809..64424ae95819daf241b6a8a37dd469ef982b81d9 100644
(file)
--- a/
server/weblistener.js
+++ b/
server/weblistener.js
@@
-91,6
+91,9
@@
var WebListener = module.exports = function (web_config, transports) {
});
that.emit('connection', client);
+
+ // Call any modules listening for new clients
+ global.modules.emit('client created', {client: client});
});
});
};