Update plugin.py
This commit is contained in:
parent
8b8f0e9fb6
commit
e3573cae04
|
|
@ -1318,9 +1318,10 @@ class Suds(callbacks.Plugin):
|
|||
|
||||
if conn.companies.values():
|
||||
for company in conn.companies.values():
|
||||
text = '%s | Value: %d, Loan: %d, Income: %d, Delivered Cargo: %d' % (
|
||||
company.name, utils.companyValue(company))
|
||||
irc.reply(text)
|
||||
if not company.id == 255:
|
||||
text = '%s | Value: %d, Loan: %d, Income: %d, Delivered Cargo: %d' % (
|
||||
company.name, utils.companyValue(company))
|
||||
irc.reply(text)
|
||||
else:
|
||||
irc.reply('There are currently no companies in existence. '\
|
||||
'Without companies, there cannot be an economy')
|
||||
|
|
|
|||
Loading…
Reference in New Issue