No need to underscore server now

This commit is contained in:
Evelyn 2017-07-16 22:43:46 +01:00
parent caab9b6714
commit cbfff9fe38

View file

@ -43,10 +43,10 @@ def handler(f=None, description=None, default_event=False):
default_events[name] = current_default_event default_events[name] = current_default_event
current_description, current_default_event = None, False current_description, current_default_event = None, False
def handle(line, prefix, command, args, is_final, _bot, _server): def handle(line, prefix, command, args, is_final, _bot, server):
global bot global bot
line_split = line.split(" ") line_split = line.split(" ")
data = LineData(line, line_split, prefix, command, args, is_final, _server) data = LineData(line, line_split, prefix, command, args, is_final, server)
handler_function = None handler_function = None
if command in handlers: if command in handlers: