diff --git a/IRCServer.py b/IRCServer.py index 77c4e7fb..0a8829e9 100644 --- a/IRCServer.py +++ b/IRCServer.py @@ -390,5 +390,5 @@ class Server(object): def send_who(self, filter=None): self.send("WHO%s" % ("" if filter == None else " %s" % filter)) 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 ""))