diff -r a8c6460d612b -r 63f06a23c235 lm.lua --- a/lm.lua Sun Mar 08 00:48:19 2009 +0200 +++ b/lm.lua Sat Mar 14 02:41:26 2009 +0200 @@ -210,8 +210,8 @@ if type ( a ) ~= "table" then error "table expected as argument" end - if not a.mtype or not a.to then - error "you must specify message type and destination" + if not a.mtype then + error "you must specify message type" end local mtype, subtype = a.mtype:match ( "(.-)%-(.+)" ) local m