Fix misnamed variables in endMOTD