moved cmds to extra files and loading binds from the database
[NeonServV5.git] / modcmd.h
index 30c0fd07439cbd872ca7d0efb5faf152cd86202b..8b189863927a6b8756057f999cf02101833ee21f 100644 (file)
--- a/modcmd.h
+++ b/modcmd.h
@@ -32,6 +32,7 @@ struct cmd_binding {
     struct cmd_function *func;
     unsigned int flags;
     char *parameters;
+    int access;
     
     struct cmd_binding *next;
 };
@@ -53,5 +54,7 @@ int bind_cmd_to_function(int botid, char *cmd, struct cmd_function *func);
 int bind_cmd_to_command(int botid, char *cmd, char *func);
 int unbind_cmd(int botid, char *cmd);
 struct ClientSocket *getTextBot();
+void bind_set_parameters(int botid, char *cmd, char *parameters);
+void bind_set_gaccess(int botid, char *cmd, int access);
 
 #endif
\ No newline at end of file