Changeset

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
parents 321:369d4638d775
children 323:5bf3b13edb80
files init.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;