chiark / gitweb /
where-vessels: fix up have-ownership
[ypp-sc-tools.web-live.git] / yarrg / where-vessels
index 99929dbfc4e6794209c89f1c0c334673b4072b40..da6480174192bf8786cabe054c30dd94aa837f2c 100755 (executable)
@@ -136,6 +136,7 @@ proc have-notes {} {
     return [string length $notes_loc]
 }
 proc have-ownership {} {
+    global pirate
     return [expr {[have-notes] && [string length $pirate]}]
 }