summaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-03-19 07:42:33 -0400
committerTest_User <hax@andrewyu.org>2024-03-19 07:42:33 -0400
commit44831804778fc0da07cb918dccc9474174d1304a (patch)
tree5aa6de2ba6fb057667f982099738e092670433f1 /commands.c
parent659f0d647ca27d03815e799f74e1023fa5f3bc25 (diff)
downloadcoupserv-44831804778fc0da07cb918dccc9474174d1304a.tar.gz
coupserv-44831804778fc0da07cb918dccc9474174d1304a.zip
make local_only work properly, ensure +k doesn't cause squits
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index 4ac9b98..0266b0b 100644
--- a/commands.c
+++ b/commands.c
@@ -303,7 +303,7 @@ int sh_command(struct string sender, struct string original_message, struct stri
static struct command_def sh_command_def = {
.func = sh_command,
.privs = STRING("NetAdmin"),
- .local_only = 0,
+ .local_only = 1,
.summary = STRING("Executes a command locally"),
};