mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 03:49:27 +01:00
check +F instead of +q for founder
This commit is contained in:
parent
7a6413ea2c
commit
a19ac34ace
@ -68,7 +68,7 @@ def convert(infile):
|
|||||||
set_at = int(parts[4])
|
set_at = int(parts[4])
|
||||||
if 'amode' not in chdata:
|
if 'amode' not in chdata:
|
||||||
chdata['amode'] = {}
|
chdata['amode'] = {}
|
||||||
if 'q' in flags:
|
if 'F' in flags:
|
||||||
# there can only be one founder
|
# there can only be one founder
|
||||||
preexisting_founder, preexisting_set_at = channel_to_founder[chname]
|
preexisting_founder, preexisting_set_at = channel_to_founder[chname]
|
||||||
if preexisting_founder is None or set_at < preexisting_set_at:
|
if preexisting_founder is None or set_at < preexisting_set_at:
|
||||||
|
Loading…
Reference in New Issue
Block a user