From 376d1bd9119c4234ef9196d30abc66697238926f Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 28 Dec 2019 17:50:38 +0000 Subject: [PATCH] Add IRC network definitions --- conf/irc.json | 8 ++++++++ main.py | 1 + 2 files changed, 9 insertions(+) create mode 100644 conf/irc.json diff --git a/conf/irc.json b/conf/irc.json new file mode 100644 index 0000000..c7c5bb9 --- /dev/null +++ b/conf/irc.json @@ -0,0 +1,8 @@ +{ + "_": { + "register": true, + "authentity": "NickServ", + "authcmd": "REGISTER {password} {email}", + "tokenregex": "" + } +} diff --git a/main.py b/main.py index 6b29325..681c755 100644 --- a/main.py +++ b/main.py @@ -24,6 +24,7 @@ filemap = { "tokens": ["tokens.json", "authentication tokens", "json"], "aliasdata": ["aliasdata.json", "data for alias generation", "json"], "alias": ["alias.json", "provisioned alias data", "json"], + "irc": ["irc.json", "IRC network definitions", "json"], # Binary (pickle) configs "network": ["network.dat", "network list", "pickle"]