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")