# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1360461002 -3600
# Node ID 819b35b8fcf67f641fd58a9355b558cb075e1048
# Parent  369d4638d775472dd7be7f7759ba412ee21251c8
verse: Add missing 'reason' argument to stream:close()

diff -r 369d4638d775 -r 819b35b8fcf6 init.lua
--- 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;