3
0
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:
Shivaram Lingamneni 2020-10-05 11:44:22 -04:00
parent 7a6413ea2c
commit a19ac34ace

View File

@ -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: