Diff

init.lua @ 330:44d2bd1cee46

Backout 55e3fd7b9731
author Kim Alvefur <zash@zash.se>
date Sun, 10 Feb 2013 18:02:00 +0100
parent 328:55e3fd7b9731
child 331:d23bb21668a7
line wrap: on
line diff
--- a/init.lua	Sun Feb 10 04:52:17 2013 +0100
+++ b/init.lua	Sun Feb 10 18:02:00 2013 +0100
@@ -150,7 +150,7 @@
 	end
 	local on_disconnect = self.conn.disconnect();
 	self.conn:close();
-	on_disconnect(self, reason);
+	on_disconnect(self.conn, reason);
 end
 
 -- Logging functions