mcbot/cmds/rfc.lua
changeset 67 5c756a9d7d8c
parent 66 d9c00a9fe9d5
--- a/mcbot/cmds/rfc.lua	Tue Nov 27 16:26:04 2012 +0100
+++ b/mcbot/cmds/rfc.lua	Tue Nov 27 16:36:17 2012 +0100
@@ -15,7 +15,9 @@
 
 -- TXT index database, retrieved from
 -- <ftp://ftp.rfc-editor.org/in-notes/rfc-index.txt>
-local indexfname = "/home/mikael/.mcabber/lua/mcbot/rfc-index.txt"
+local home = os.getenv("HOME")
+local indexfname = home.."/.mcabber/mcabbot/mcbot/rfc-index.txt"
+home = nil
 
 local urlbase = "http://tools.ietf.org/html/rfc"