All pastes #775998 Raw Edit

Anonymous

public lua v1 · immutable
·published 2007-11-15 20:31 UTC
rendered paste body
mod_core.folder_hook = function(old, new)     if string.match(new, "debian.private$") then         MAlias.signature = "~/.signature.pv"     elseif string.match(new, "^imaps://mail.intersec") then         MAlias.signature = "~/.signature.is"     else         MAlias.signature = "~/.signature"     end      if string.match(new, "/debian.nm.") or string.match(new, "/debian$") then         MAlias.record = '^'     elseif string.match(new, "/%-[24]%-") or string.match(new, "/debian") then         MAlias.record = ""     else         MAlias.record = '^'     end      if string.match(new, "/%-4%-") or string.match(new, "/debian") then         MAlias.from = "madcoder@debian.org"     elseif string.match(new, "^imaps://mail.intersec") then         MAlias.from = "pierre.habouzit@intersec.com"     else         MAlias.from = "pierre.habouzit@m4x.org"     end end