about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-15 22:59:04 -0500
committerJune McEnroe <june@causal.agency>2020-02-15 22:59:04 -0500
commitfa4e81d480265cc3c067fc7b2b8887d4a4300cc0 (patch)
tree8bba8f9a88bc50599e779ebc5381bac44a84a05a
parentReplace small integers in size_t with uint (diff)
downloadcatgirl-fa4e81d480265cc3c067fc7b2b8887d4a4300cc0.tar.gz
catgirl-fa4e81d480265cc3c067fc7b2b8887d4a4300cc0.zip
Set defaults for various types of modes
These are actually from RFC 1459, since that seems to be the more likely
lowest common denominator, so I should maybe it it to STANDARDS (along
with ircdocs' section on ISUPPORT). RFC 2812 has a lot of stuff that
isn't currently used.
Diffstat (limited to '')
-rw-r--r--chat.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/chat.c b/chat.c
index ef135bc..16ecb8a 100644
--- a/chat.c
+++ b/chat.c
@@ -191,6 +191,11 @@ int main(int argc, char *argv[]) {
 	set(&network.name, host);
 	set(&network.chanTypes, "#&");
 	set(&network.prefixes, "@+");
+	set(&network.prefixModes, "ov");
+	set(&network.listModes, "b");
+	set(&network.paramModes, "k");
+	set(&network.setParamModes, "l");
+	set(&network.channelModes, "imnpst");
 	set(&self.nick, "*");
 	commandComplete();