Try "&main'new_keyword", not the bare word version.
I prefer using the "API" to dorking with all the individual hashes. The
standard I followed is to place my local enhacements in a separate file,
and then require that file within config_parse.pl, just before the final
exit of '1'.
--bill
John Grant wrote:
>
> I have tried hand-editing config_parse.pl to add in a new bool type key.
> If I try to use it in a cf_ck_bool, then majordomo does nothing, won't
> even
> write to the log file ! I tried using tbe main'new_keyword call to add
> it, but
> that killed it dead too.
>
> This is version 1.93 and I want to add several new keys, mainly to hide
> the who
> command and change the length of the welcome message. If someone would
> be kind enough to
> send an example.
>
> ============
> What I did:
>
> Added the following to config_parse.pl
> - known_keys entry ( 'short_welcome', 'no')
> - comment entry
> - subsystem entry ('short_welcome','majordomo')
> - parse_function ('short_welcome','grab_bool')
>
> VS.
>
> manin'new_keyword('short_welcome','no','grab_bool','majordomo','no
> comment');
References:
|
|