Commit Graph

6 Commits

Author SHA1 Message Date
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