aaaaaaaaaaaa
This commit is contained in:
parent
4766792492
commit
55f202ca9b
|
@ -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 });
|
||||
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue