diff options
author | Test_User <hax@andrewyu.org> | 2023-08-21 20:52:11 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2023-08-21 20:52:11 -0400 |
commit | 39cd7bb66c466ac504db3676ea196ee24540ab2c (patch) | |
tree | 8fde3e982d6172884b05efbc056c6477787925e2 /client_network.c | |
parent | 01a37d3dd71843f4edefb68e67c28094a9133ca5 (diff) | |
download | c_coupserv-39cd7bb66c466ac504db3676ea196ee24540ab2c.tar.gz c_coupserv-39cd7bb66c466ac504db3676ea196ee24540ab2c.zip |
Tell command handlers if it's local
Diffstat (limited to 'client_network.c')
-rw-r--r-- | client_network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client_network.c b/client_network.c index 844be8f..11b7a19 100644 --- a/client_network.c +++ b/client_network.c @@ -448,7 +448,7 @@ int client_privmsg_handler(uint64_t argc, struct string *argv) { privmsg(STRING("1HC000000"), log_channel, sizeof(message)/sizeof(*message), message); - return cmd->func(STRING("1HC000001"), argv[1], argv[0], command_argc, command_argv); + return cmd->func(STRING("1HC000001"), argv[1], argv[0], command_argc, command_argv, 1); } else { // TODO: complain about remote access WRITES(1, STRING("Not executing local-only command from a remote source!\n")); |