MOO-cows Mailing List Archive
[Next][Index][Thread]
Re:
>How is call_function("notify", player, "SPAM"); any different from
>eval("notify(player, \"SPAM\");")? I fail to see how this adds any new
>functionality to the server, just maybe a slightly more convienent form
>than eval in some cases.
How about comparing
call_function("notify", player, foo);
with
eval("notify(player, " + FOO + ");");
...? The latter leaves you wide-open for people to slip in nasties, while using call_function() makes you safer.
Seth / Blackbriar
---------------------------------------------------------------------------
Seth I. Rich - sir@po.cwru.edu no, no quote.
Rabbits on walls, no problem. it's far too cold.
Follow-Ups:
- Re:
- From: Rich Connamacher <phantom@baymoo.sfsu.edu>
Home |
Subject Index |
Thread Index