Diff

init.lua @ 322:819b35b8fcf6

verse: Add missing 'reason' argument to stream:close()
author Kim Alvefur <zash@zash.se>
date Sun, 10 Feb 2013 02:50:02 +0100
parent 281:1669dd08032a
child 325:843fabce2fc7
line wrap: on
line diff
--- a/init.lua	Sun Feb 10 01:54:30 2013 +0100
+++ b/init.lua	Sun Feb 10 02:50:02 2013 +0100
@@ -143,7 +143,7 @@
 	end;
 end
 
-function stream:close()
+function stream:close(reason)
 	if not self.conn then 
 		verse.log("error", "Attempt to close disconnected connection - possibly a bug");
 		return;