| 527 | } |
| 528 | |
| 529 | bool ConCmdManager::LookForCommandAdminFlags(const char *cmd, FlagBits *pFlags) |
| 530 | { |
| 531 | ConCmdInfo *pInfo; |
| 532 | if (!m_Cmds.retrieve(cmd, &pInfo)) |
| 533 | return false; |
| 534 | |
| 535 | *pFlags = pInfo->eflags; |
| 536 | return true; |
| 537 | } |
| 538 | |
| 539 | ConCmdInfo *ConCmdManager::AddOrFindCommand(const char *name, const char *description, int flags, IPlugin *pPlugin) |
| 540 | { |
no test coverage detected