summary refs log tree commit diff
path: root/chat.c
diff options
context:
space:
mode:
authorC. McEnroe2020-02-02 17:37:36 -0500
committerC. McEnroe2020-02-02 17:37:36 -0500
commit0d6a60cc6634cafe03671e9d5a1a64295c98bb9d (patch)
treec0040a6be92fba5aae7670d67ff3f1673edb4ba2 /chat.c
parentb535f0abdde6fb79f9f972d0b39c8b0a7a837339 (diff)
Save NETWORK, CHANTYPES, PREFIX from ISUPPORT
Diffstat (limited to 'chat.c')
-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();