Software /
code /
prosody
Changeset
2769:826f6fb7036d
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 | 2768:c317bfef9b74 |
children | 2770:716260e3b017 |
files | prosody |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/prosody Fri Dec 04 18:59:28 2009 +0000 +++ b/prosody Mon Dec 07 18:32:06 2009 +0000 @@ -302,7 +302,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