aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-26 23:30:15 +0000
committerMatthew Wild <mwild1@gmail.com>2009-10-26 23:30:15 +0000
commitf0b9e5befac2aef2c57d68d1441faed693bacea6 (patch)
tree6b0f9746afaa3356db58aa3a7ef0cc533bd87d04 /prosody
parent493cfc98173579fe924d06b353cf5416471dec1c (diff)
parentc73ece03d8efcc4b46712ff32b7da610cb21dc4f (diff)
downloadprosody-f0b9e5befac2aef2c57d68d1441faed693bacea6.tar.gz
prosody-f0b9e5befac2aef2c57d68d1441faed693bacea6.zip
Merge with trunk
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosody b/prosody
index 99d7602c..e22e5945 100755
--- a/prosody
+++ b/prosody
@@ -282,7 +282,7 @@ end
function loop()
-- Error handler for errors that make it this far
local function catch_uncaught_error(err)
- if err:match("%d*: interrupted!$") then
+ if type(err) == "string" and err:match("%d*: interrupted!$") then
return "quitting";
end