# HG changeset patch # User Kim Alvefur # Date 1360466960 -3600 # Node ID 55e3fd7b973139292c732d3ed445fc9c29a8ed2a # Parent 963d156a4b36087e54420bf4f650768ee8428bd6 verse: Err, I meant the stream, not the connection diff -r 963d156a4b36 -r 55e3fd7b9731 init.lua --- a/init.lua Sun Feb 10 04:20:44 2013 +0100 +++ b/init.lua Sun Feb 10 04:29:20 2013 +0100 @@ -150,7 +150,7 @@ end local on_disconnect = self.conn.disconnect(); self.conn:close(); - on_disconnect(self.conn, reason); + on_disconnect(self, reason); end -- Logging functions