forked from tildeverse/tilde.chat
Because ben HAD to move the sekrit channel, change channel removed from stats to #secret-sudoers :P
This commit is contained in:
parent
e6a792a2aa
commit
b6cfca84b1
|
@ -18,7 +18,7 @@ channels = []
|
|||
for schannel in schannels:
|
||||
channel = dict(name=schannel.findall("channelname")[0].text,usercount=int(schannel.findall("usercount")[0].text))
|
||||
channel["topic"] = schannel.findall("./channeltopic/topictext")[0].text if schannel.findall("./channeltopic/topictext")[0].text is not None else "No topic set"
|
||||
if channel["name"]=="#sudoers": # no stat output for #sudoers! it's a sekrit club of the ~team sysadmins!
|
||||
if channel["name"]=="#secret-sudoers": # no stat output for #secret-sudoers! it's a sekrit club of the ~team sysadmins!
|
||||
continue
|
||||
channels.append(channel)
|
||||
channels.sort(key=lambda x: x["name"].lower())
|
||||
|
|
Loading…
Reference in New Issue