From 7cad4e42eea372aa38cb526066b693770e7331a0 Mon Sep 17 00:00:00 2001 From: Georg Date: Sat, 18 Dec 2021 01:14:18 +0100 Subject: [PATCH] Removing legacy xmpp_domain output Signed-off-by: Georg --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index affc914..a44e497 100644 --- a/plugin.py +++ b/plugin.py @@ -190,7 +190,7 @@ class Mailcow(callbacks.Plugin): ) data = response.json() #return(print(data)) - irc.reply('Username: ' + data['username'] + ' | Quota: ' + str(data['quota']) + ' | Messages: ' + str(data['messages']) + ' | Mail Active: ' + str(data['active']) + ' | XMPP Active: ' + str(data['domain_xmpp'])) + irc.reply('Username: ' + data['username'] + ' | Quota: ' + str(data['quota']) + ' | Messages: ' + str(data['messages']) + ' | Mail Active: ' + str(data['active'])) except requests.exceptions.ConnectionError as err: irc.error("Connection failed.") except requests.exceptions.HTTPError as err: