+2005-11-01 00:23:14 GMT Michael Poole <mdpoole@troilus.org> patch-31
+
+ Summary:
+ Handle default oplevels.
+ Revision:
+ srvx--devo--1.3--patch-31
+
+ src/chanserv.c (cmd_mode): Calculate base oplevel as 1 plus one point
+ for each access level below owner.
+ (chan_opt_modes): Add new argument for mod_chanmode_parse().
+ (chanserv_conf_read): Likewise.
+ (chanserv_channel_read): Likewise.
+
+ src/hash.c (AddChannel): Likewise.
+ (AddChannelUser): Set oplevel by default.
+
+ src/hash.h (MAXOPLEVEL): New define value.
+ (modeNode): Shrink modes and oplevel fields.
+
+ src/opserv.c (cmd_chaninfo): Fix indentation; show oplevel after
+ nickname rather than before it.
+
+ src/proto.h (mod_chanmode_parse): Declare new parameter.
+
+ src/proto-bahamut.c (mod_chanmode_parse): Add new parameter (and
+ ignore it).
+
+ src/proto-common.c (mod_chanmode): Find the default oplevels for
+ parsing the mode change.
+
+ src/proto-p10.c (create_desc): Remove oplevel field.
+ (join_helper): Do not try to set oplevel for new modeNode.
+ (parse_foreach): Do not bother parsing oplevels in JOIN, since they
+ are no longer used.
+ (mod_chanmode_parse): Add new parameter and use it to determine the
+ oplevel to set when a valid oplevel one is not specified.
+
+ modified files:
+ ChangeLog src/chanserv.c src/hash.c src/hash.h src/opserv.c
+ src/proto-bahamut.c src/proto-common.c src/proto-p10.c
+ src/proto.h
+
+