mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-24 19:24:13 +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():
|
||||
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 '')
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user