if (!Commands.containsKey(cmd.toLowerCase())) {
Generic.curProtocol.outPRVMSG(this, replyto, "\u0002Error:\u0002 Unknown Command!");
return;
}
CommandDesc c = Commands.get(cmd.toLowerCase()).getDesc();
// Is this command available in-channel?
if ((!inchan || !c.InChannel) && inchan) {
Generic.curProtocol.outPRVMSG(this, replyto, "\u0002Error:\u0002 That command is unavailable in-channel!");
return;
}