aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-03-31 14:19:27 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-03-31 14:19:27 +0200
commitcc7950760034810e08db7a75c3b382058833e35d (patch)
tree9c021c118ae0c1bbd3117eda55871ca59f0e6849
parent3d89d4a87a4d30cda0d866b590db20771c090e04 (diff)
Added the parameter list to 'comm_func'
-rw-r--r--FICS/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/command.h b/FICS/command.h
index 0d8037d..dfc5292 100644
--- a/FICS/command.h
+++ b/FICS/command.h
@@ -85,7 +85,7 @@ typedef parameter param_list[MAXNUMPARAMS];
typedef struct s_command_type {
char *comm_name;
char *param_string;
- int (*comm_func)();
+ int (*comm_func)(int, param_list);
int adminLevel;
} command_type;