From 90ce92dc39395444862edfc7946ef7a1195f2464 Mon Sep 17 00:00:00 2001 From: dngfx Date: Fri, 31 Aug 2018 10:51:47 +0100 Subject: Revert "Reformat" This reverts commit abed9cf --- modules/perform.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/perform.py') diff --git a/modules/perform.py b/modules/perform.py index bb94ca63..65d0eb23 100644 --- a/modules/perform.py +++ b/modules/perform.py @@ -1,6 +1,5 @@ import EventManager - class Module(object): def __init__(self, bot): bot.events.on("received").on("numeric").on("001").hook( @@ -12,6 +11,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