From c3d79d07b96c3e2bee7bbdfbc7ec3f6e7af59e17 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Tue, 24 Jan 2023 17:35:12 +0000 Subject: support passwords for joining channels, and refactor channel list into a separate module --- chanlist.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 chanlist.c (limited to 'chanlist.c') diff --git a/chanlist.c b/chanlist.c new file mode 100644 index 0000000..3ccd291 --- /dev/null +++ b/chanlist.c @@ -0,0 +1,18 @@ +#include "chanlist.h" + +#include +char *g_chanlist[] = { + "a", + "b", + "g", + "the", +}; +const int g_nchannels = sizeof(g_chanlist)/sizeof(g_chanlist[0]); +char *g_chanpwlist[] = { + NULL, + NULL, + NULL, + "password", +}; + + -- cgit v1.2.3