use ISUPPORT CHANTYPES instead of assuming channels use normal ones
fixes #5 might break if the server lacks ISUPPORT i suppose (do any?)
This commit is contained in:
parent
d38345c3d9
commit
06e06f788b
|
@ -141,7 +141,7 @@ async def filter(self, c, n, m):
|
||||||
elif m[: len(self.nickname) + 1] == self.nickname + " ":
|
elif m[: len(self.nickname) + 1] == self.nickname + " ":
|
||||||
m = m[len(self.nickname) + 1 :]
|
m = m[len(self.nickname) + 1 :]
|
||||||
await go(self, c, n, m)
|
await go(self, c, n, m)
|
||||||
elif "#" not in c and n != self.nickname:
|
elif c[0] not in self.isupport.chantypes and n != self.nickname:
|
||||||
await go(self, c, n, m)
|
await go(self, c, n, m)
|
||||||
else:
|
else:
|
||||||
if len(m.split()) > 1:
|
if len(m.split()) > 1:
|
||||||
|
|
Loading…
Reference in New Issue