diff --git a/src/irc.zig b/src/irc.zig index ff8742f..84b690e 100644 --- a/src/irc.zig +++ b/src/irc.zig @@ -334,6 +334,7 @@ pub const Channel = struct { fn onChange(ptr: ?*anyopaque, _: *vxfw.EventContext, input: []const u8) anyerror!void { const self: *Channel = @ptrCast(@alignCast(ptr orelse unreachable)); + if (!self.client.caps.@"message-tags") return; if (std.mem.startsWith(u8, input, "/")) { return; }