Remove additional %

This commit is contained in:
jesopo 2018-09-13 10:27:50 +01:00
parent 36fe1fa0d5
commit e8c7abd19a

View file

@ -390,5 +390,5 @@ class Server(object):
def send_who(self, filter=None): def send_who(self, filter=None):
self.send("WHO%s" % ("" if filter == None else " %s" % filter)) self.send("WHO%s" % ("" if filter == None else " %s" % filter))
def send_whox(self, mask, filter, fields, label=None): def send_whox(self, mask, filter, fields, label=None):
self.send("WHO %s %s%%%%s%s" % (mask, filter, fields, self.send("WHO %s %s%%%s%s" % (mask, filter, fields,
","+label if label else "")) ","+label if label else ""))