Changeset

328:55e3fd7b9731

verse: Err, I meant the stream, not the connection
author Kim Alvefur <zash@zash.se>
date Sun, 10 Feb 2013 04:29:20 +0100
parents 327:963d156a4b36
children 329:2787e038bea2
files init.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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