diff --git a/privmsg.php b/privmsg.php index 3034f99e..e2b03977 100644 --- a/privmsg.php +++ b/privmsg.php @@ -927,6 +927,17 @@ 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 +}