aaaaaaaaaaaa

This commit is contained in:
Kitteh 2021-06-02 17:31:52 +01:00
parent 4766792492
commit 55f202ca9b
2 changed files with 3 additions and 6 deletions

View file

@ -35,13 +35,10 @@ pub const Client = struct {
var map = std.StringHashMap(qvar.QVariant).init(s.allocator);
//try map.put("UseSSL", .{ .byte = 0 });
//try map.put("UseCompression", .{ .byte = 0 });
//try map.put("ProtocolVersion", .{ .int = 10 });
try map.put("MsgType", .{ .string = "ClientInit" });
try map.put("ClientVersion", .{ .string = "0.1 (quasselclient)" });
try map.put("BuildDate", .{ .string = "0" });
try map.put("ClientFeatures", .{ .int = 0 });
try map.put("ClientDate", .{ .string = "Wed, 02 Jun 2021 17:30:30 +0100" });
try map.put("Features", .{ .int = 0 });
var empty = std.ArrayList([]const u8).init(s.allocator);
try map.put("FeatureList", .{ .stringlist = empty });

View file

@ -12,5 +12,5 @@ pub fn main() !void {
var client = initClient(allocator, &sock);
try client.handshake();
try client.quassel_init_packet();
//try client.quassel_login("z", "PASSWORD");
try client.quassel_login("z", "PASSWORD");
}