No need to underscore server now
This commit is contained in:
parent
caab9b6714
commit
cbfff9fe38
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue