From 7e0d3cffa4774f624ddcde934a98a1ce727beecd Mon Sep 17 00:00:00 2001 From: John Smith Date: Thu, 14 Oct 2021 17:00:44 +0700 Subject: Fix global message sending --- modules/mod_iq_disco.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/mod_iq_disco.py b/modules/mod_iq_disco.py index 7993645..0d1226b 100644 --- a/modules/mod_iq_disco.py +++ b/modules/mod_iq_disco.py @@ -120,7 +120,7 @@ def sendGlobalMessage(body, subject, online): else: users = getUsersList() for user in users: - sendAnnouncement(user, body, subject) + sendAnnouncement(user[0], body, subject) def checkAPIToken(token): -- cgit v1.2.3