fix bug where it didint parse out admin commands when the nick changes

This commit is contained in:
lickthecheese 2020-04-24 12:21:20 -04:00
parent 538bfbcda4
commit 22eeeb5fd2
2 changed files with 1 additions and 1 deletions

View file

@ -56,7 +56,7 @@ async def filter(self, c, n, m):
if c in self.qtime and self.qtime[c] > time.time(): if c in self.qtime and self.qtime[c] > time.time():
return return
if m[:len(self.prefix)] == self.prefix: if m[:len(self.prefix)] == self.prefix:
m = m[5:] m = m[len(self.prefix):]
await go(self, c, n, m) await go(self, c, n, m)
elif m[:4] == 'kim ': elif m[:4] == 'kim ':
m = m[4:] m = m[4:]