diff -r d9c00a9fe9d5 -r 5c756a9d7d8c mcbot/cmds/bofh.lua --- 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" } }