fix bad variable ref

This commit is contained in:
Richard van der Hoff 2020-01-28 14:55:22 +00:00
parent fbe0a82c0d
commit a1f307f7d1
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ def check(
# 4c. Otherwise, allow.
# This is removed by https://github.com/matrix-org/matrix-doc/pull/2260
if room_version.special_case_aliases_auth:
if room_version_obj.special_case_aliases_auth:
logger.debug("Allowing! %s", event)
return