an experimental irc client

Fix being able to query channels

authored by

Palanix and committed by rockorager.dev 995e83f6 ee4ad357

+1
+1
src/app.zig
··· 897 897 .query => { 898 898 const s = std.mem.indexOfScalar(u8, cmd, ' ') orelse return error.InvalidCommand; 899 899 const e = std.mem.indexOfScalarPos(u8, cmd, s + 1, ' ') orelse cmd.len; 900 + if (cmd[s + 1] == '#') return error.InvalidCommand; 900 901 901 902 const ch = try client.getOrCreateChannel(cmd[s + 1 .. e]); 902 903 try client.requestHistory(.after, ch);