fix error in irc command controlling.