Update plugin.py

This commit is contained in:
Gordon Shumway 2019-09-08 09:33:03 -04:00 committed by GitHub
parent c8e1f8ecd6
commit 51a74b90da
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.history)
else:
irc.reply('There are currently no companies in existence. '\
'Without companies, there cannot be an economy')