# HG changeset patch # User Mikael Berthe # Date 1274010211 -7200 # Node ID 5c0a2db896f5c57210840e6f4e0f3385333a817e # Parent 95ba0699f36559f12e874e142154be1e9fbfcfa5 Ignore incoming error messages diff -r 95ba0699f365 -r 5c0a2db896f5 mcabbot.lua --- a/mcabbot.lua Sat Apr 24 13:47:42 2010 +0200 +++ b/mcabbot.lua Sun May 16 13:43:31 2010 +0200 @@ -29,6 +29,9 @@ local perso = false local muc = false local message = h.message + + if h.error and h.error == "true" then return end + if h.groupchat and h.groupchat == "true" then muc = true end