added a layer of security to the irc control