diff -r d9c00a9fe9d5 -r 5c756a9d7d8c mcbot/cmds/wtf.lua --- a/mcbot/cmds/wtf.lua Tue Nov 27 16:26:04 2012 +0100 +++ b/mcbot/cmds/wtf.lua Tue Nov 27 16:36:17 2012 +0100 @@ -12,7 +12,9 @@ -- Please check the license in the COPYING file at the root of the tree. -- -local wtfdbfile = "/home/mikael/.mcabber/lua/mcbot/wtfdb.txt" +local home = os.getenv("HOME") +local wtfdbfile = home.."/.mcabber/mcabbot/mcbot/wtfdb.txt" +home = nil local wtf = { ["desc"] = "Acronym dictionary" }