# HG changeset patch # User David Demelier # Date 1455016112 -3600 # Node ID e80d7e8590a28b9dc0ea568c7c565e06f45f98d3 # Parent 1158cffe5a5e9f2e8d39118833aaf0dabab1e5c8 Irccd: invalid StackAssert in TypeInfo::push diff -r 1158cffe5a5e -r e80d7e8590a2 irccd/plugin.cpp --- a/irccd/plugin.cpp Mon Feb 08 16:43:14 2016 +0100 +++ b/irccd/plugin.cpp Tue Feb 09 12:08:32 2016 +0100 @@ -467,7 +467,7 @@ void TypeInfo::push(Context &ctx, const PluginInfo &info) { - js::StackAssert sa(ctx); + js::StackAssert sa(ctx, 1); ctx.push(js::Object{}); ctx.putProperty(-1, "name", info.name);