3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 03:33:07 +01:00

put udp bind in onload so it has this

This commit is contained in:
reality 2014-09-13 19:23:00 +00:00
parent b660d9ce21
commit 0ebdb2dbde

View File

@ -14,7 +14,9 @@ var udp = function(dbot) {
dbot.say(this.config.server, this.config.channel, message);
}
}.bind(this));
server.bind(this.config.port);
this.onLoad = function() {
server.bind(this.config.port);
}.bind(this);
};
exports.fetch = function(dbot) {