Changing a naïve way of checking for a welcome to the network for a more generic one.

Check for "End of /MOTD command" instead of "Welcome" as not every MOTD has Welcome in it!