diff --git a/src/controllers/plugins/LuaUtilities.cpp b/src/controllers/plugins/LuaUtilities.cpp index 9a16d8370..3477e4e38 100644 --- a/src/controllers/plugins/LuaUtilities.cpp +++ b/src/controllers/plugins/LuaUtilities.cpp @@ -116,7 +116,7 @@ StackIdx push(lua_State *L, const CommandContext &ctx) push(L, ctx.words); lua_setfield(L, outIdx, "words"); push(L, ctx.channel->getName()); - lua_setfield(L, outIdx, "channelName"); + lua_setfield(L, outIdx, "channel_name"); return outIdx; }