3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

Merge pull request #109 from SamStudio8/master

Report version after greload callbacks complete
This commit is contained in:
Luke Slater 2013-01-05 14:25:20 -08:00
commit f25af00e93

View File

@ -48,13 +48,12 @@ var admin = function(dbot) {
exec("git submodule update", function (error, stdout, stderr) {
event.reply(dbot.t('gpull'));
commands.reload(event);
event.message = 'version';
event.action = 'PRIVMSG';
event.params = event.message.split(' ');
dbot.instance.emit(event);
}.bind(this));
}.bind(this));
event.message = 'version';
event.action = 'PRIVMSG';
event.params = event.message.split(' ');
dbot.instance.emit(event);
},
// Display commit information for part of dbot