1
0
mirror of http://aero2k.de/t/repos/urlbot-native.git synced 2017-09-06 15:25:38 +02:00

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

View File

@@ -5,7 +5,7 @@ if '__main__' == __name__:
print('''this is a plugin file, which is not meant to be executed''')
exit(-1)
import time, random, unicodedata, re
import time, random, unicodedata, re, sys
from local_config import conf
from common import *
from urlbot import extract_title
@@ -488,8 +488,8 @@ def data_parse_commands(data):
return None
if 'hangup' in data:
chat_write('', prefix='/quit')
logger('warn', 'received hangup: ' + data)
sys.exit(1)
return None
reply_user = get_reply_data(data)