fix name of bot in testbot
This commit is contained in:
parent
36f4e9b324
commit
20d4998c63
@ -97,13 +97,13 @@ class MUCBot(slixmpp.ClientXMPP):
|
|||||||
unknownmsg = True
|
unknownmsg = True
|
||||||
if self.room1 in str(msg['from']):
|
if self.room1 in str(msg['from']):
|
||||||
for i in results2:
|
for i in results2:
|
||||||
if 'xmppbot: ' + i[0] == body:
|
if "admin: " + i[0] == body:
|
||||||
i[2] = rtime
|
i[2] = rtime
|
||||||
unknownmsg = False
|
unknownmsg = False
|
||||||
|
|
||||||
if self.room2 in str(msg['from']):
|
if self.room2 in str(msg['from']):
|
||||||
for i in results1:
|
for i in results1:
|
||||||
if 'xmppbot: ' + i[0] == body:
|
if "admin: " + i[0] == body:
|
||||||
i[2] = rtime
|
i[2] = rtime
|
||||||
unknownmsg = False
|
unknownmsg = False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user