mirror of
http://aero2k.de/t/repos/urlbot-native.git
synced 2017-09-06 15:25:38 +02:00
whitespace and import fixes
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import logging
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
import time
|
||||
import random
|
||||
|
||||
import config
|
||||
from plugin_system import pluginfunction, ptypes
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
comment_joins_strings = [
|
||||
"%s: please consider to fix your internet connection"
|
||||
]
|
||||
|
||||
|
||||
@pluginfunction('comment_joins', 'comments frequent joins', ptypes.MUC_ONLINE)
|
||||
@config.config_locked
|
||||
def comment_joins(**args):
|
||||
@@ -46,4 +47,3 @@ def comment_joins(**args):
|
||||
user_joins.append(current_timestamp)
|
||||
config.runtime_config_store['user_joins'][arg_user_key] = user_joins
|
||||
config.runtimeconf_persist()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user