verse: Add missing 'reason' argument to stream:close()

Sun, 10 Feb 2013 02:50:02 +0100

author
Kim Alvefur <zash@zash.se>
date
Sun, 10 Feb 2013 02:50:02 +0100
changeset 322
819b35b8fcf6
parent 321
369d4638d775
child 323
5bf3b13edb80

verse: Add missing 'reason' argument to stream:close()

init.lua file | annotate | diff | comparison | revisions
--- 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;

mercurial