Minor bug fixes

This commit is contained in:
2021-07-02 21:48:12 +02:00
parent f83f2a4edf
commit a1040a4553
2 changed files with 26 additions and 1 deletions

View File

@ -1513,11 +1513,12 @@ class MuteExtban(cases.BaseServerTestCase):
"""
clients = ("chanop", "bar")
self.connectClient("chanop", name="chanop")
isupport = self.server_support
token = isupport.get("EXTBAN", "")
prefix, comma, types = token.partition(",")
self.connectClient("chanop", name="chanop")
self.joinChannel("chanop", "#chan")
self.getMessages("chanop")
self.sendLine("chanop", f"MODE #chan +b {prefix}{self.char()}:BAR!*@*")