Update plugin.py

This commit is contained in:
Gordon Shumway 2019-09-08 09:17:54 -04:00 committed by GitHub
parent 12a412e34f
commit b7eeff7adf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1320,6 +1320,8 @@ class Suds(callbacks.Plugin):
text = 'Value: %d, Loan: %d, Income: %d, Delivered Cargo: %d' %\
utils.companyValue(conn.companies)
irc.reply(text)
for company in conn.companies.values():
irc.reply(company.economy)
else:
irc.reply('There are currently no companies in existence. '\
'Without companies, there cannot be an economy')