[DGD] Uninitialized variable error
Felix A. Croes
felix at dworkin.nl
Fri Mar 26 13:31:44 CET 2004
Michael McKiel <crashnbrn71 at yahoo.ca> wrote:
> Well sorry for spamming, which looks like me mostly talking to myself heh.
> But the above didn't work, the process_alias() in aliasd, had a security
> check of: if (previous_program() != LIB_ALIAS) return nil;
> so it never actually got to the call to history().
>
> What did work, was making these 2 variables private:
> mapping aliases;
> string *history;
Perhaps you are doing something to reset these variables to nil, such as
performing a restore_object() in an object that inherits this code, with
a save file that does not contain values for aliases and history? In
that case, just making these variables static should suffice.
Regards,
Dworkin
_________________________________________________________________
List config page: http://list.imaginary.com/mailman/listinfo/dgd
More information about the DGD
mailing list