Fix testsuite.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 8 Dec 2007 20:14:23 +0000 (21:14 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 8 Dec 2007 20:14:23 +0000 (21:14 +0100)
config.example
testsuite/test-linestack.c

index a79d010..3a607c2 100644 (file)
@@ -49,3 +49,11 @@ autoconnect = admin
 # Irssi-style logging
 #logging = irssi
 #logfile = /home/jelmer/tmp/ctrlproxy
+#
+#[OFTC]
+#nick = jelmer
+#autojoin = #bitlbee
+#
+#[Freenode]
+#nick = jelmer
+#autojoin = #ctrlproxy;#bla
index ff8527b..bbe0139 100644 (file)
@@ -214,7 +214,7 @@ START_TEST(test_msg)
        cl = client_init(NULL, ch1, "test");
        g_io_channel_unref(ch1);
 
-       linestack_send(ctx, lm, NULL, cl, FALSE, FALSE);
+       linestack_send(ctx, lm, NULL, cl, FALSE, FALSE, 0);
        disconnect_client(cl, "foo");
 
        g_io_channel_read_to_end(ch2, &raw, NULL, NULL);
@@ -247,7 +247,7 @@ START_TEST(test_join_part)
        cl = client_init(NULL, ch1, "test");
        g_io_channel_unref(ch1);
 
-       linestack_send(ctx, lm, NULL, cl, FALSE, FALSE);
+       linestack_send(ctx, lm, NULL, cl, FALSE, FALSE, 0);
        disconnect_client(cl, "foo");
 
        g_io_channel_read_to_end(ch2, &raw, NULL, NULL);
@@ -284,7 +284,7 @@ START_TEST(test_skip_msg)
        cl = client_init(NULL, ch1, "test");
        g_io_channel_unref(ch1);
 
-       linestack_send(ctx, lm, NULL, cl, FALSE, FALSE);
+       linestack_send(ctx, lm, NULL, cl, FALSE, FALSE, 0);
        disconnect_client(cl, "foo");
 
        g_io_channel_read_to_end(ch2, &raw, NULL, NULL);
@@ -321,7 +321,7 @@ START_TEST(test_object_msg)
        cl = client_init(NULL, ch1, "test");
        g_io_channel_unref(ch1);
 
-       linestack_send_object(ctx, "#bla", lm, NULL, cl, FALSE, FALSE);
+       linestack_send_object(ctx, "#bla", lm, NULL, cl, FALSE, FALSE, 0);
        disconnect_client(cl, "foo");
 
        g_io_channel_read_to_end(ch2, &raw, NULL, NULL);
@@ -362,7 +362,7 @@ START_TEST(test_object_open)
                cl = client_init(NULL, ch1, "test");
                g_io_channel_unref(ch1);
 
-               linestack_send_object(ctx, "#bla", NULL, NULL, cl, FALSE, FALSE);
+               linestack_send_object(ctx, "#bla", NULL, NULL, cl, FALSE, FALSE, 0);
                disconnect_client(cl, "foo");
 
                g_io_channel_read_to_end(ch2, &raw, NULL, NULL);