summaryrefslogtreecommitdiff
path: root/priv_entries.h
diff options
context:
space:
mode:
Diffstat (limited to 'priv_entries.h')
-rw-r--r--priv_entries.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/priv_entries.h b/priv_entries.h
index f553a2b..f7697a6 100644
--- a/priv_entries.h
+++ b/priv_entries.h
@@ -199,6 +199,14 @@ struct entry_t action_entries_g[] = {
.name = "Use",
.children = object_entries,
.children_cnt = countof(object_entries),
+ }, {
+ .name = "Defend",
+ .children_cnt = 0,
+ .action = {
+ .f = defend,
+ .data = NULL,
+ .target = TARGET_SELF,
+ },
},
};