mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-25 13:29:27 +01:00
atheme2json: translate channel flag +a to the corresponding amode
This commit is contained in:
parent
22b0263c5b
commit
2dcb084e0f
@ -127,6 +127,8 @@ def convert(infile):
|
|||||||
chdata['amode'][username] = 'q'
|
chdata['amode'][username] = 'q'
|
||||||
elif 'q' in flags:
|
elif 'q' in flags:
|
||||||
chdata['amode'][username] = 'q'
|
chdata['amode'][username] = 'q'
|
||||||
|
elif 'a' in flags:
|
||||||
|
chdata['amode'][username] = 'a'
|
||||||
elif 'o' in flags or 'O' in flags:
|
elif 'o' in flags or 'O' in flags:
|
||||||
chdata['amode'][username] = 'o'
|
chdata['amode'][username] = 'o'
|
||||||
elif 'h' in flags or 'H' in flags:
|
elif 'h' in flags or 'H' in flags:
|
||||||
|
Loading…
Reference in New Issue
Block a user