If there is no MOTD the server must reply with "MOTD File is missing" (raw 422). If it's not, the on:CONNECT and perform will not work.
The server is just badly configured / coded.