mcbot/cmds/rfc.lua
changeset 67 5c756a9d7d8c
parent 66 d9c00a9fe9d5
equal deleted inserted replaced
66:d9c00a9fe9d5 67:5c756a9d7d8c
    13 -- Please check the license in the COPYING file at the root of the tree.
    13 -- Please check the license in the COPYING file at the root of the tree.
    14 --
    14 --
    15 
    15 
    16 -- TXT index database, retrieved from
    16 -- TXT index database, retrieved from
    17 -- <ftp://ftp.rfc-editor.org/in-notes/rfc-index.txt>
    17 -- <ftp://ftp.rfc-editor.org/in-notes/rfc-index.txt>
    18 local indexfname = "/home/mikael/.mcabber/lua/mcbot/rfc-index.txt"
    18 local home = os.getenv("HOME")
       
    19 local indexfname = home.."/.mcabber/mcabbot/mcbot/rfc-index.txt"
       
    20 home = nil
    19 
    21 
    20 local urlbase = "http://tools.ietf.org/html/rfc"
    22 local urlbase = "http://tools.ietf.org/html/rfc"
    21 
    23 
    22 local rfc = { ["desc"] = "Search RFC database" }
    24 local rfc = { ["desc"] = "Search RFC database" }
    23 
    25