From 411b6c470298732d175ed5a698a4942e9004be87 Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 5 Aug 2015 06:10:55 -0700 Subject: [PATCH] relay: allow opers to run SAVE too --- plugins/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index 68acb1b..7b65f3f 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -104,7 +104,7 @@ def save(irc, source, args): """takes no arguments. Saves the relay database to disk.""" - if irc.users[source].identified: + if utils.isOper(irc, source): exportDB() utils.msg(irc, source, 'Done.') else: