diff --git a/files/templates/post_listing.html b/files/templates/post_listing.html
index 9de2ddb1e..5e1b9bf74 100644
--- a/files/templates/post_listing.html
+++ b/files/templates/post_listing.html
@@ -10,7 +10,7 @@
{% include "popover.html" %}
-{% set disable_votes = request.path.startswith('/@' and u != v) and v and v.admin_level < PERMS['ENABLE_VOTE_BUTTONS_ON_USER_PAGE'] %}
+{% set disable_votes = request.path.startswith('/@') and u != v and v and v.admin_level < PERMS['ENABLE_VOTE_BUTTONS_ON_USER_PAGE'] %}
{% set post_permalinks = [] %}
{% for p in listing if can_see(v, p) %}