summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--library/safe.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/safe.tcl b/library/safe.tcl
index 18360ce..b5ee95f 100644
--- a/library/safe.tcl
+++ b/library/safe.tcl
@@ -501,7 +501,7 @@ proc ::safe::InterpSetConfig {slave access_path staticsok nestedok deletehook au
# nonsense in both the slave and the master.
#
proc ::safe::DetokPath {slave tokenPath} {
- namespace upvar ::safe S$slave state
+ namespace upvar ::safe [VarName $slave] state
set slavePath {}
foreach token $tokenPath {