Prevent chained aliases in chatalias #43

Merged
Dico200 merged 7 commits from chatalias-chained-aliases-patch into dev 2016-05-28 21:06:32 +00:00
Showing only changes of commit 1fdf97f77a - Show all commits

View File

@ -227,7 +227,7 @@ def add_alias_data(puuid, aliased, new_alias):
# prevent 1 -> 2 if there is 2 -> 3
for sequence in prior:
if sequence in new alias:
if sequence in new_alias:
return False
prior[aliased] = new_alias