mcabbot.lua
changeset 41 5c0a2db896f5
parent 40 95ba0699f365
child 66 d9c00a9fe9d5
equal deleted inserted replaced
40:95ba0699f365 41:5c0a2db896f5
    27 
    27 
    28 local function hk_message_in (h)
    28 local function hk_message_in (h)
    29     local perso = false
    29     local perso = false
    30     local muc = false
    30     local muc = false
    31     local message = h.message
    31     local message = h.message
       
    32 
       
    33     if h.error and h.error == "true" then return end
       
    34 
    32     if h.groupchat and h.groupchat == "true" then
    35     if h.groupchat and h.groupchat == "true" then
    33         muc = true
    36         muc = true
    34     end
    37     end
    35     if muc == true then
    38     if muc == true then
    36         if h.delayed == "" then
    39         if h.delayed == "" then