mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
white space fixes, reformat; update url_blacklist
This commit is contained in:
@@ -34,8 +34,11 @@ config = {
|
||||
'persistent_locked': False,
|
||||
|
||||
'url_blacklist': [
|
||||
r'^.*heise\.de/[^/]+/meldung/.*$',
|
||||
r'^.*wikipedia\.org/wiki/.*$'
|
||||
r'^.*heise\.de/.*-[0-9]+\.html$',
|
||||
r'^.*wikipedia\.org/wiki/.*$',
|
||||
r'^.*blog\.fefe\.de/\?ts=[0-9a-f]+$',
|
||||
r'^.*ibash\.de/zitat.*$',
|
||||
r'^.*golem\.de/news/.*$'
|
||||
],
|
||||
|
||||
# the "dice" feature will use more efficient random data (0) for given users
|
||||
|
||||
@@ -628,11 +628,13 @@ def data_parse_commands(msg_obj):
|
||||
if not p.is_enabled:
|
||||
continue
|
||||
|
||||
ret = p(data = data,
|
||||
ret = p(
|
||||
data = data,
|
||||
cmd_list = [pl.plugin_name for pl in plugins[ptypes.COMMAND]],
|
||||
reply_user = reply_user,
|
||||
msg_obj = msg_obj,
|
||||
argv = words[1:])
|
||||
argv = words[1:]
|
||||
)
|
||||
|
||||
|
||||
if None != ret:
|
||||
|
||||
Reference in New Issue
Block a user