summary refs log tree commit diff
diff options
context:
space:
mode:
authorC. McEnroe2020-02-15 22:59:04 -0500
committerC. McEnroe2020-02-15 22:59:04 -0500
commitfa4e81d480265cc3c067fc7b2b8887d4a4300cc0 (patch)
tree8bba8f9a88bc50599e779ebc5381bac44a84a05a
parent700b5d587015faa396b1149525b084960d6524c3 (diff)
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.
-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();