mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-05-19 00:30:21 -07:00
slight tweak to mood tag
This commit is contained in:
parent
e92f39eb8c
commit
25a245a9b7
@ -503,6 +503,8 @@ function escape_codeblock($text) {
|
|||||||
function doreplace2($msg, $options = null, $mood = 0) {
|
function doreplace2($msg, $options = null, $mood = 0) {
|
||||||
// @TODO php7.4 or w/e null coalescing
|
// @TODO php7.4 or w/e null coalescing
|
||||||
if ($options === null) $options = '0|0';
|
if ($options === null) $options = '0|0';
|
||||||
|
$mood = intval($mood);
|
||||||
|
|
||||||
// options will contain smiliesoff|htmloff
|
// options will contain smiliesoff|htmloff
|
||||||
$options = explode("|", $options);
|
$options = explode("|", $options);
|
||||||
$smiliesoff = $options[0];
|
$smiliesoff = $options[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user