]> PatchyGit - patchyircd.git/commitdiff
admin: fix Channel metatable name
authorEgor <egor@patchysicp.xyz>
Wed, 11 Feb 2026 22:14:55 +0000 (00:14 +0200)
committerEgor <egor@patchysicp.xyz>
Wed, 11 Feb 2026 22:14:55 +0000 (00:14 +0200)
src/admin.cpp

index 24aee50..9cdd0a2 100644 (file)
@@ -217,7 +217,7 @@ struct ClientRef {
 };
 struct ChannelRef {
        Channel *chan;
-       static constexpr const char *mtname = "Client";
+       static constexpr const char *mtname = "Channel";
        friend void push(lua_State *L, Channel *chan) {
                pushreftype<ChannelRef>(L, chan);
        }