Properly detect message type; don't rely on lookup table ordering if the type is explicitly specified.
Properly detect message type; don't rely on lookup table ordering if the type is explicitly specified.

mhallendal/loudmouth,tuxad-loudmouth/loudmouth,tuxad-loudmouth/loudmouth,tyll/loudmouth,mcabber/loudmouth,tyll/loudmouth,mhallendal/loudmouth,mcabber/loudmouth