summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-01-04 16:09:56 -0500
committerJune McEnroe <june@causal.agency>2020-01-04 16:09:56 -0500
commite1fc2069bf50123e3cef5df08e3968b2fc349aec (patch)
treea3f82681f6f42e9b673a14616ffff92f80d68ddd
parentClean up unscoop(1) documentation (diff)
downloadlitterbox-e1fc2069bf50123e3cef5df08e3968b2fc349aec.tar.gz
litterbox-e1fc2069bf50123e3cef5df08e3968b2fc349aec.zip
Set the default network name to the hostname
-rw-r--r--litterbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/litterbox.c b/litterbox.c
index 31d7198..c6cee84 100644
--- a/litterbox.c
+++ b/litterbox.c
@@ -665,6 +665,7 @@ int main(int argc, char *argv[]) {
 
 	if (!host) errx(EX_USAGE, "host required");
 	set(&self, "*");
+	set(&network, host);
 	set(&chanTypes, "#&");
 	set(&prefixes, "@+");