Tuomo Valkonen <[EMAIL PROTECTED]> writes: > On 2005-03-07 12:50 +0100, Matthieu Moy wrote: >> Is there a way to know if a script runs in restricted mode? > > Not currently. Something to check this should probably be added if > the restricted mode stays, but I haven't finally decided... > I don't like it, but everything else seems just as ugly.
I didn't like it either, but I got used to it, and it's actually a good idea IMO. The script writer can fetch the necessary information in the hook, and defer the side-effects with ioncore.defer(). -- Matthieu
