3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-14 07:59:31 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
Shivaram Lingamneni
31003bd02d fix bugs in atheme2json.py 2020-12-07 02:53:45 -05:00
Shivaram Lingamneni
468b5a4a39 fix #1403
Handle the case where atheme had a successor, but didn't correctly
elect them as founder (?)
2020-12-06 20:50:06 -05:00
Shivaram Lingamneni
b95afa1464 preemptively filter out masks from amodes in atheme import 2020-12-06 20:07:45 -05:00
Shivaram Lingamneni
d6a2c0db4a fix #1431 2020-12-06 12:38:18 -05:00
James Lu
2dcb084e0f atheme2json: translate channel flag +a to the corresponding amode 2020-12-04 01:08:23 -08:00
James Lu
22b0263c5b atheme2json: flatten channels owned by GroupServ groups to the first group founder 2020-12-04 01:08:23 -08:00
Kyle Fuller
7e5cdc4f90 refactor atheme2json to sort channel modes
This makes invoking the script multiple times with the same input return
the same result, which may not be the case before because sets are
unordered and thus the channel modes can become reordered across
multiple invocations of the script.
2020-11-27 19:20:58 +00:00
Kyle Fuller
97bb044640 fix atheme2json to handle mlock mode removal
For example, if the mlock is set to `-i`, `i` is not present in the
`modes` and thus it would error.

I'm inclined to think that the negative mlock feature doesn't behave
correctly, because the mlock of `-i` (or `-n`) would prevent anyone from
ever setting those modes on the channel. Which this does not appear to
be the case.

Fixes #1401
2020-11-27 16:29:08 +00:00
Shivaram Lingamneni
82be9a8423 support migrating anope databases 2020-10-12 15:06:17 -04:00
Shivaram Lingamneni
a19ac34ace check +F instead of +q for founder 2020-10-05 11:44:22 -04:00
Shivaram Lingamneni
7a6413ea2c first draft of atheme migration code 2020-10-02 16:48:37 -04:00