summaryrefslogtreecommitdiff
path: root/commands.h
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2023-08-21 20:52:11 -0400
committerTest_User <hax@andrewyu.org>2023-08-21 20:52:11 -0400
commit39cd7bb66c466ac504db3676ea196ee24540ab2c (patch)
tree8fde3e982d6172884b05efbc056c6477787925e2 /commands.h
parent01a37d3dd71843f4edefb68e67c28094a9133ca5 (diff)
downloadcoupserv-39cd7bb66c466ac504db3676ea196ee24540ab2c.tar.gz
coupserv-39cd7bb66c466ac504db3676ea196ee24540ab2c.zip
Tell command handlers if it's local
Diffstat (limited to 'commands.h')
-rw-r--r--commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.h b/commands.h
index f8ef354..ed6952f 100644
--- a/commands.h
+++ b/commands.h
@@ -32,7 +32,7 @@
#include "table.h"
struct command_def {
- int (*func)(struct string sender, struct string original_message, struct string to, uint64_t argc, struct string *argv);
+ int (*func)(struct string sender, struct string original_message, struct string to, uint64_t argc, struct string *argv, char is_local);
struct string privs;
struct string summary;
uint8_t local_only;