Fixed the parameters being passed into motd class

Added the parameter '$inline_template'. Looks like it was missed out.