Update websrv.js

This commit is contained in:
Flummi 2016-10-20 22:01:54 +00:00
parent d5bf0671ee
commit 86d7ff7197

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+') in branch '+body.branch, 'n0xy' );
lib.bot.send( lib.cfg.debugchannel, eventname + ' from ' + autor + ' ('+commit+') in '+body.ref, 'n0xy' );
if( lib.cfg.debugchannel === '#f0ck' ) {
exec('cd ../ & git pull', (error, stdout) => {