Use access function instad of %module-public-interface
authorDale P. Smith <dalepsmith@gmail.com>
Sat, 18 Jan 2020 19:39:38 +0000 (14:39 -0500)
committerClinton Ebadi <clinton@unknownlamer.org>
Fri, 8 May 2020 00:33:37 +0000 (20:33 -0400)
scripts/bot.scm

index 984c64a..5acf8d4 100644 (file)
@@ -6,6 +6,6 @@
 
 (define-module (bobotpp bot))
 
-(set-module-uses! %module-public-interface
+(set-module-uses! (module-public-interface (current-module)
                  (list (module-ref (resolve-module '(guile-user) #f)
-                                   'the-bot-module)))
\ No newline at end of file
+                                   'the-bot-module)))