aboutsummaryrefslogtreecommitdiffstats
path: root/functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'functions.c')
-rw-r--r--functions.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/functions.c b/functions.c
index 4098b1f..3184482 100644
--- a/functions.c
+++ b/functions.c
@@ -202,7 +202,7 @@ call_bi_func(unsigned n, Var arglist, Byte func_pc,
/* if (caller() != SYSTEM_OBJECT && server_flag_option(f->protect_str)) { */
if (caller() != SYSTEM_OBJECT && f->protected) {
/* Try calling #0:bf_FUNCNAME(@ARGS) instead */
- enum error e = call_verb(SYSTEM_OBJECT, f->verb_str, arglist, 0);
+ enum error e = call_verb2(SYSTEM_OBJECT, f->verb_str, arglist, 0);
if (e == E_NONE)
return tail_call_pack();
@@ -468,6 +468,10 @@ char rcsid_functions[] = "$Id$";
/*
* $Log$
+ * Revision 1.7 2001/03/12 05:10:54 bjj
+ * Split out call_verb and call_verb2. The latter must only be called with
+ * strings that are already MOO strings (str_ref-able).
+ *
* Revision 1.6 2001/03/12 03:25:16 bjj
* Added new package type BI_KILL which kills the task calling the builtin.
* Removed the static int task_killed in execute.c which wa tested on every