data
is now line
This commit is contained in:
parent
48eeb11554
commit
c4ea6fa562
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ class Server(IRCObject.Object):
|
||||||
|
|
||||||
def send(self, line: str):
|
def send(self, line: str):
|
||||||
returned = self.events.on("preprocess.send").call_unsafe_for_result(
|
returned = self.events.on("preprocess.send").call_unsafe_for_result(
|
||||||
server=self, line=data)
|
server=self, line=line)
|
||||||
line = returned or line
|
line = returned or line
|
||||||
|
|
||||||
encoded = line.split("\n")[0].strip("\r").encode("utf8")
|
encoded = line.split("\n")[0].strip("\r").encode("utf8")
|
||||||
|
|
Loading…
Reference in a new issue