From c4ea6fa56238c9f8a9fd7a7bb7aa147102fdbf68 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 2 Dec 2018 09:48:06 +0000 Subject: [PATCH] `data` is now `line` --- src/IRCServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IRCServer.py b/src/IRCServer.py index 88c47b07..69916f16 100644 --- a/src/IRCServer.py +++ b/src/IRCServer.py @@ -289,7 +289,7 @@ class Server(IRCObject.Object): def send(self, line: str): returned = self.events.on("preprocess.send").call_unsafe_for_result( - server=self, line=data) + server=self, line=line) line = returned or line encoded = line.split("\n")[0].strip("\r").encode("utf8")