1.1 --- a/core/CConCmdManager.h Sat Feb 17 07:54:20 2007 +0000
1.2 +++ b/core/CConCmdManager.h Sat Feb 17 08:59:52 2007 +0000
1.3 @@ -98,6 +98,7 @@
1.4 const char *description,
1.5 int flags);
1.6 ResultType DispatchClientCommand(int client, ResultType type);
1.7 + void UpdateAdminCmdFlags(const char *cmd, OverrideType type, FlagBits bits);
1.8 private:
1.9 void InternalDispatch();
1.10 ResultType RunAdminCommand(ConCmdInfo *pInfo, int client, int args);
1.11 @@ -106,10 +107,11 @@
1.12 void AddToCmdList(ConCmdInfo *info);
1.13 void RemoveConCmd(ConCmdInfo *info);
1.14 void RemoveConCmds(List<CmdHook *> &cmdlist, IPluginContext *pContext);
1.15 + bool CheckAccess(int client, const char *cmd, AdminCmdInfo *pAdmin);
1.16 private:
1.17 Trie *m_pCmds; /* command lookup */
1.18 Trie *m_pCmdGrps; /* command group lookup */
1.19 - List<ConCmdInfo *> m_CmdList; /* command list, currently unused */
1.20 + List<ConCmdInfo *> m_CmdList; /* command list */
1.21 int m_CmdClient; /* current client */
1.22 BaseStringTable m_Strings; /* string table */
1.23 };