mcbot/cmds/bofh.lua
changeset 67 5c756a9d7d8c
parent 23 491f7d046353
--- a/mcbot/cmds/bofh.lua	Tue Nov 27 16:26:04 2012 +0100
+++ b/mcbot/cmds/bofh.lua	Tue Nov 27 16:36:17 2012 +0100
@@ -1,5 +1,7 @@
 
-local excusefile = "/home/mikael/.mcabber/lua/mcbot/bofh_excuses.txt"
+local home = os.getenv("HOME")
+local excusefile = home.."/.mcabber/mcabbot/mcbot/bofh_excuses.txt"
+home = nil
 
 local bofh = { ["desc"] = "Give a BOFH excuse",
                ["aliases"] = { "excuse" } }