From 20d4998c6374df859d219ff26231c2f7357bc02e Mon Sep 17 00:00:00 2001 From: Aleksej Date: Tue, 14 Jun 2022 16:39:19 +0200 Subject: [PATCH] fix name of bot in testbot --- test/testbot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testbot b/test/testbot index e9b1068..a3d534c 100755 --- a/test/testbot +++ b/test/testbot @@ -97,13 +97,13 @@ class MUCBot(slixmpp.ClientXMPP): unknownmsg = True if self.room1 in str(msg['from']): for i in results2: - if 'xmppbot: ' + i[0] == body: + if "admin: " + i[0] == body: i[2] = rtime unknownmsg = False if self.room2 in str(msg['from']): for i in results1: - if 'xmppbot: ' + i[0] == body: + if "admin: " + i[0] == body: i[2] = rtime unknownmsg = False