Specific "n%" for WHOX as to only return nicks.
This commit is contained in:
parent
6db97c7df5
commit
36fe1fa0d5
2 changed files with 3 additions and 4 deletions
|
@ -214,7 +214,7 @@ class LineHandler(object):
|
|||
|
||||
# on-join user list has finished
|
||||
def handle_366(self, event):
|
||||
event["server"].send_whox(event["args"][1], "ahnrtu", "111")
|
||||
event["server"].send_whox(event["args"][1], "n", "ahnrtu", "111")
|
||||
|
||||
# on user joining channel
|
||||
def join(self, event):
|
||||
|
|
|
@ -389,7 +389,6 @@ class Server(object):
|
|||
"" if server == None else " :%s" % server))
|
||||
def send_who(self, filter=None):
|
||||
self.send("WHO%s" % ("" if filter == None else " %s" % filter))
|
||||
def send_whox(self, filter, flags, label=None):
|
||||
self.send("WHO %s %s%s" % (filter,
|
||||
"%"+flags if flags else "",
|
||||
def send_whox(self, mask, filter, fields, label=None):
|
||||
self.send("WHO %s %s%%%%s%s" % (mask, filter, fields,
|
||||
","+label if label else ""))
|
||||
|
|
Loading…
Reference in a new issue