about summary refs log tree commit diff
path: root/chat.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-02 17:37:36 -0500
committerJune McEnroe <june@causal.agency>2020-02-02 17:37:36 -0500
commit0d6a60cc6634cafe03671e9d5a1a64295c98bb9d (patch)
treec0040a6be92fba5aae7670d67ff3f1673edb4ba2 /chat.c
parentHandle notices and actions (diff)
downloadcatgirl-0d6a60cc6634cafe03671e9d5a1a64295c98bb9d.tar.gz
catgirl-0d6a60cc6634cafe03671e9d5a1a64295c98bb9d.zip
Save NETWORK, CHANTYPES, PREFIX from ISUPPORT
Diffstat (limited to '')
-rw-r--r--chat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/chat.c b/chat.c
index b61dd34..162f68f 100644
--- a/chat.c
+++ b/chat.c
@@ -80,6 +80,10 @@ int main(int argc, char *argv[]) {
 	if (!user) user = nick;
 	if (!real) real = nick;
 
+	set(&self.network, host);
+	set(&self.chanTypes, "#&");
+	set(&self.prefixes, "@+");
+
 	ircConfig(insecure, cert, priv);
 
 	uiInit();