mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-21 07:14:47 -07:00
atheme2json: translate channel flag +a to the corresponding amode
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user