mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
atheme2json: translate channel flag +a to the corresponding amode
This commit is contained in:
parent
22b0263c5b
commit
2dcb084e0f
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue