From e3573cae04ffe443ad0af969beaacc2dd4cff957 Mon Sep 17 00:00:00 2001 From: Gordon Shumway <39967334+oddluck@users.noreply.github.com> Date: Sun, 8 Sep 2019 10:01:53 -0400 Subject: [PATCH] Update plugin.py --- suds/plugin.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/suds/plugin.py b/suds/plugin.py index 8c53879..ac86f31 100644 --- a/suds/plugin.py +++ b/suds/plugin.py @@ -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')