Update websrv.js

This commit is contained in:
Flummi 2016-10-20 21:58:56 +00:00
parent 04579f1cd8
commit d5bf0671ee

View File

@ -41,7 +41,7 @@ function Websrv(tlib) {
catch(ex) {
commit = body.commits[body.commits.length-2].message.replace('\n','').trim();
}
lib.bot.send( lib.cfg.debugchannel, eventname + ' from ' + autor + ' ('+commit+')', 'n0xy' );
lib.bot.send( lib.cfg.debugchannel, eventname + ' from ' + autor + ' ('+commit+') in branch '+body.branch, 'n0xy' );
if( lib.cfg.debugchannel === '#f0ck' ) {
exec('cd ../ & git pull', (error, stdout) => {