Mar 23, 2015, 10:43 PM

Or have a system which automatically undarks staffers.


In other news, I have killed +job/approve and +job/deny. I cannot tell the low-level animosity I've had for these two switches, but for some reason +job/complete has never mailed. Ever. It's a silent finish-and-close.

I don't know where to put this patch, so I'm putting it here for now.

@va me=<main jobs object>

&MLETTER_COM [get( %va/vc )]=
	[name( %0 )] has been completed:%r
	%r
	[last( get( %0/COMMENT_1 ), | )]%r
	[repeat( -, 75 )]%r
	[ansi( h, Comments added by [name( %2 )]: )] %3

@edit %va/cmd_job/complete=
	{ You have completed [name(%q0)].; }, 
	{ You have completed [name( %q0 )], adding the comments: [trim( %1 )]; }

&cmd_job/approve %va=$+job/approve *=*:
	@pemit %#=Please use +job/complete.

&cmd_job/deny %va=$+job/deny *=*:
	@pemit %#=Please use +job/complete.

Yes, it was just that easy.

Enjoy.