diff --git a/plugins/stats.py b/plugins/stats.py index c464d1c..db1d747 100644 --- a/plugins/stats.py +++ b/plugins/stats.py @@ -115,8 +115,8 @@ def handle_stats(irc, source, command, args): for accountname, accountdata in conf.conf['login'].get('accounts', {}).items(): networks = accountdata.get('networks', []) if irc.name in networks or not networks: - _num(243, "O %s * %s :%s" % - ' '.join(accountdata.get('hosts', ['*@*']), + _num(243, "O %s * %s :%s" % ( + ' '.join(accountdata.get('hosts', ['*@*'])), accountname, 'needoper' if accountdata.get('require_oper') else '') )