diff --git a/dr.botzo.py b/dr.botzo.py index 87481b4..1873ec4 100755 --- a/dr.botzo.py +++ b/dr.botzo.py @@ -53,6 +53,8 @@ def on_privmsg(connection, event): # quit server, with message elif what.split(' ')[0] == 'quit' and admin_unlocked: connection.quit(' '.join(what.split(' ')[1:])) + with open('dr.botzo.cfg', 'w') as cfg: + config.write(cfg) ##### # init