aboutsummaryrefslogtreecommitdiff
path: root/modules/perform.py
diff options
context:
space:
mode:
authorGravatar dngfx2018-08-31 10:50:37 +0100
committerGravatar dngfx2018-08-31 10:50:37 +0100
commitabed9cf4ea71dcbad2dd2c049683b8d14b942e09 (patch)
tree3e40caf63fa7e1500469f4ad9a0c45c51808aad4 /modules/perform.py
parentFix a copy paste fail in IRCLineHandler that caused PARTs to be handled as QUITs (diff)
signature
Reformat
Diffstat (limited to 'modules/perform.py')
-rw-r--r--modules/perform.py3
1 files changed, 2 insertions, 1 deletions
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)