From 92ef5e35a73d6d6153d6c9cd8f5eefd52704dd84 Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Tue, 28 Feb 2023 22:32:01 +0100 Subject: [PATCH] Rename CommandContext.channelName -> channel_name on lua side --- src/controllers/plugins/LuaUtilities.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }