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