From abed9cf4ea71dcbad2dd2c049683b8d14b942e09 Mon Sep 17 00:00:00 2001 From: dngfx Date: Fri, 31 Aug 2018 10:50:37 +0100 Subject: Reformat --- modules/perform.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/perform.py') diff --git a/modules/perform.py b/modules/perform.py index 65d0eb23..bb94ca63 100644 --- a/modules/perform.py +++ b/modules/perform.py @@ -1,5 +1,6 @@ import EventManager + class Module(object): def __init__(self, bot): bot.events.on("received").on("numeric").on("001").hook( @@ -11,6 +12,6 @@ class Module(object): command = command.split("%%") for j, part in enumerate(command[:]): command[j] = part.replace("%nick%", event["server" - ].original_nickname) + ].original_nickname) command = "%".join(command) event["server"].send(command) -- cgit v1.3.1-10-gc9f91