flag.save()\r
self.node.reset_flag_count_cache()\r
\r
- if self.node.flag_count == int(settings.FLAG_COUNT_TO_HIDE_POST):\r
+ if self.node.flag_count >= int(settings.FLAG_COUNT_TO_HIDE_POST):\r
self.repute(self.node.author, -int(settings.REP_LOST_BY_FLAGGED_3_TIMES))\r
\r
- if self.node.flag_count == int(settings.FLAG_COUNT_TO_DELETE_POST):\r
+ if self.node.flag_count >= int(settings.FLAG_COUNT_TO_DELETE_POST):\r
self.repute(self.node.author, -int(settings.REP_LOST_BY_FLAGGED_5_TIMES))\r
if not self.node.nis.deleted:\r
DeleteAction(node=self.node, user=self.user, extra="BYFLAGGED").save()\r