higher chance of equality comparison with existing commands

This commit is contained in:
Will Tekulve 2016-04-14 01:19:40 -04:00
parent f03b44d57a
commit 4ad66d82d0

View File

@ -117,7 +117,7 @@ class Alias:
def part_of_existing_command(self, alias, server):
'''Command or alias'''
for command in self.bot.commands:
if alias.lower() == command:
if alias.lower() == command.lower():
return True
return False