Fix bug preventing registration of irc only commands