aboutsummaryrefslogtreecommitdiff
path: root/chanlist.c
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-01-24 17:35:12 +0000
committerubq323 <ubq323@ubq323.website>2023-01-24 17:35:12 +0000
commitc3d79d07b96c3e2bee7bbdfbc7ec3f6e7af59e17 (patch)
treeaa358412be78c9aa6967623b34b0b0d905abedb7 /chanlist.c
parent60a4a26ce76850f3d374d7206e702fbc6548f58b (diff)
support passwords for joining channels, and refactor channel list into a separate module
Diffstat (limited to 'chanlist.c')
-rw-r--r--chanlist.c18
1 files changed, 18 insertions, 0 deletions
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 <stddef.h>
+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",
+};
+
+