From f1fa608a148b17fb36aeebe41bbbf051b0e8e591 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sun, 18 Jun 2023 20:49:58 +0700 Subject: [PATCH] Revert "Maked max smilies in PM configurable (#189)" This reverts commit d4b35fed1c7be6e222baa8d1ada8b4d3c0a6cb36. --- privmsg.php | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/privmsg.php b/privmsg.php index e2b03977..3034f99e 100644 --- a/privmsg.php +++ b/privmsg.php @@ -927,17 +927,6 @@ else if ( $submit || $refresh || $mode != '' ) $error = TRUE; $error_msg .= ( ( !empty($error_msg) ) ? '
' : '' ) . $lang['EMPTY_MESSAGE']; } - - // Check smilies limit - if ($bb_cfg['max_smilies_pm']) - { - $count_smilies = substr_count(bbcode2html($privmsg_message), '', ''); bb_die($msg); -} +} \ No newline at end of file