util.pluginloader: Remove unnecessary return value suppressing the real load error
[prosody.git] / util / serialization.lua
index 4da811aeba72245bf145d773c9fa80969e89cbdd..1ffd3e16497be7e845e8d89a072a65852b962749 100644 (file)
@@ -53,7 +53,7 @@ local function _simplesave(o, ind, t, func)
                func(t, (o and "true" or "false"));
        else
                log("error", "cannot serialize a %s: %s", type(o), debug_traceback())
-               func(t, "nil,\n");
+               func(t, "nil");
        end
 end