port urlbot: remove mcabber specific output stuff

This commit is contained in:
urlbot
2014-12-02 15:22:02 +01:00
parent 77a6322d66
commit cb712d9645
4 changed files with 20 additions and 34 deletions

3
bot.py
View File

@@ -47,6 +47,9 @@ class bot(ClientXMPP):
def muc_message(self, msg):
print(msg['mucnick'])
print(msg['body'])
print((msg['from'], msg['from'].bare))
print(conf('room') == msg['from'].bare)
# don't talk to yourself
if msg['mucnick'] == self.nick: