fix bug where it didint parse out admin commands when the nick changes
This commit is contained in:
parent
538bfbcda4
commit
22eeeb5fd2
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
@ -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:]
|
||||||
|
|
Loading…
Reference in a new issue