forked from GitHub/dbot
put udp bind in onload so it has this
This commit is contained in:
parent
b660d9ce21
commit
0ebdb2dbde
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user