mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-09 15:15:34 +01:00
Fix the webhook processor (#26055)
This commit is contained in:
committed by
AnturK
parent
88ff3a15d3
commit
2df08d95b1
@@ -255,10 +255,11 @@ function checkchangelog($payload, $merge = false, $compile = true) {
|
||||
$incltag = true;
|
||||
$foundcltag = true;
|
||||
$pos = strpos($line, " ");
|
||||
if ($pos)
|
||||
if ($pos) {
|
||||
$tmp = substr($line, $pos+1);
|
||||
if (trim($tmp) != 'optional name here')
|
||||
$username = $tmp;
|
||||
}
|
||||
continue;
|
||||
} else if (substr($line,0,5) == '/:cl:' || substr($line,0,6) == '/ :cl:' || substr($line,0,5) == ':/cl:' || substr($line,0,5) == '/🆑' || substr($line,0,6) == '/ 🆑' ) {
|
||||
$incltag = false;
|
||||
|
||||
Reference in New Issue
Block a user