core/ConCmdManager.h
changeset 3687 d0b1262dbc03
parent 3389 68d3e56f4bb7
child 3899 fd4ec50a0d6c
     1.1 --- a/core/ConCmdManager.h	Thu Nov 15 17:50:11 2012 +0000
     1.2 +++ b/core/ConCmdManager.h	Thu Nov 15 17:53:11 2012 +0000
     1.3 @@ -48,7 +48,6 @@
     1.4  enum CmdType
     1.5  {
     1.6  	Cmd_Server,
     1.7 -	Cmd_Console,
     1.8  	Cmd_Admin,
     1.9  };
    1.10  
    1.11 @@ -89,7 +88,6 @@
    1.12  	List<CmdHook *> srvhooks;		/**< Hooks as a server command */
    1.13  	List<CmdHook *> conhooks;		/**< Hooks as a console command */
    1.14  	AdminCmdInfo admin;				/**< Admin info, if any */
    1.15 -	bool is_admin_set;				/**< Whether or not admin info is set */
    1.16  };
    1.17  
    1.18  typedef List<ConCmdInfo *> ConCmdList;
    1.19 @@ -119,7 +117,6 @@
    1.20  	void OnUnlinkConCommandBase(ConCommandBase *pBase, const char *name, bool is_read_safe);
    1.21  public:
    1.22  	bool AddServerCommand(IPluginFunction *pFunction, const char *name, const char *description, int flags);
    1.23 -	bool AddConsoleCommand(IPluginFunction *pFunction, const char *name, const char *description, int flags);
    1.24  	bool AddAdminCommand(IPluginFunction *pFunction, 
    1.25  						 const char *name, 
    1.26  						 const char *group,