3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-23 19:19:31 +01:00

stats: removed unused code

This commit is contained in:
James Lu 2017-08-07 23:55:45 -07:00
parent be41f57795
commit 29fc73193f

View File

@ -111,10 +111,6 @@ def handle_stats(irc, source, command, args):
# 243/RPL_STATSOLINE: "O <hostmask> * <nick> [:<info>]"
# New style accounts only!
for accountname, accountdata in conf.conf['login'].get('accounts', {}).items():
info = []
if accountdata.get('require_oper'):
info.append('require_oper')
_num(243, "O %s * %s :network_filter:%s require_oper:%s" %
(' '.join(accountdata.get('hosts', [])) or '*@*',
accountname,