Implement users command to see the mutual users of one or more channels and squash some bugs

This commit is contained in:
2018-10-08 20:08:10 +01:00
parent a98ed4e4d0
commit 44aa0f1727
4 changed files with 50 additions and 6 deletions

View File

@@ -7,6 +7,9 @@ class Chans:
def chans(self, addr, authed, data, obj, spl, success, failure, info, incUsage, length):
if authed:
if len(spl) < 2:
incUsage("chans")
return
result = userinfo.getChans(spl[1:])
rtrn = ""
for i in result.keys():