mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-24 11:14:07 +01:00
plugin stats: Missing parentheses change number of arguments
Signed-off-by: Celelibi <celelibi@gmail.com>
This commit is contained in:
parent
b49d5775e2
commit
88116dbe8d
@ -115,8 +115,8 @@ def handle_stats(irc, source, command, args):
|
|||||||
for accountname, accountdata in conf.conf['login'].get('accounts', {}).items():
|
for accountname, accountdata in conf.conf['login'].get('accounts', {}).items():
|
||||||
networks = accountdata.get('networks', [])
|
networks = accountdata.get('networks', [])
|
||||||
if irc.name in networks or not networks:
|
if irc.name in networks or not networks:
|
||||||
_num(243, "O %s * %s :%s" %
|
_num(243, "O %s * %s :%s" % (
|
||||||
' '.join(accountdata.get('hosts', ['*@*']),
|
' '.join(accountdata.get('hosts', ['*@*'])),
|
||||||
accountname,
|
accountname,
|
||||||
'needoper' if accountdata.get('require_oper') else '')
|
'needoper' if accountdata.get('require_oper') else '')
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user