Rename CommandContext.channelName -> channel_name on lua side

This commit is contained in:
Mm2PL 2023-02-28 22:32:01 +01:00
parent debd7aaa51
commit 92ef5e35a7
No known key found for this signature in database
GPG key ID: 94AC9B80EFA15ED9

View file

@ -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;
}