diff prosody @ 2330:e80790636cbe

prosody: Less strict matching for the magic 'interrupted' error
author Matthew Wild <mwild1@gmail.com>
date Mon, 07 Dec 2009 18:32:06 +0000
parents 548a4fc54a74
children 9eb20b3f3bbb
line wrap: on
line diff
--- a/prosody	Mon Dec 07 18:30:57 2009 +0000
+++ b/prosody	Mon Dec 07 18:32:06 2009 +0000
@@ -303,7 +303,7 @@
 function loop()
 	-- Error handler for errors that make it this far
 	local function catch_uncaught_error(err)
-		if type(err) == "string" and err:match("%d*: interrupted!$") then
+		if type(err) == "string" and err:match("interrupted!$") then
 			return "quitting";
 		end