mcbot/cmds/wtf.lua
changeset 67 5c756a9d7d8c
parent 66 d9c00a9fe9d5
--- 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" }