return false;
}
+static bool chanacs_allow_foundership(myentity_t *mt)
+{
+ return false;
+}
+
static entity_chanacs_validation_vtable_t chanacs_ext_validate = {
.match_entity = chanacs_ext_match_entity,
.match_user = chanacs_ext_match_user,
.can_register_channel = chanacs_ext_can_register_channel,
+ .allow_foundership = chanacs_allow_foundership,
};
static mowgli_heap_t *chanacs_ext_heap = NULL;
return false;
}
+static bool channel_ext_allow_foundership(myentity_t *mt)
+{
+ return false;
+}
+
static entity_chanacs_validation_vtable_t channel_ext_validate = {
.match_entity = channel_ext_match_entity,
.match_user = channel_ext_match_user,
.can_register_channel = channel_ext_can_register_channel,
+ .allow_foundership = channel_ext_allow_foundership,
};
static mowgli_heap_t *channel_ext_heap = NULL;
return false;
}
+static bool dummy_allow_foundership(myentity_t *mt)
+{
+ return false;
+}
+
static entity_chanacs_validation_vtable_t dummy_validate = {
.match_entity = dummy_match_entity,
.match_user = dummy_match_user,
.can_register_channel = dummy_can_register_channel,
+ .allow_foundership = dummy_allow_foundership,
};
static myentity_t dummy_entity = {
return false;
}
+static bool dummy_allow_foundership(myentity_t *mt)
+{
+ return false;
+}
+
static entity_chanacs_validation_vtable_t dummy_validate = {
.match_entity = dummy_match_entity,
.match_user = dummy_match_user,
.can_register_channel = dummy_can_register_channel,
+ .allow_foundership = dummy_allow_foundership,
};
static myentity_t dummy_entity = {
return false;
}
+static bool server_ext_allow_foundership(myentity_t *mt)
+{
+ return false;
+}
+
static entity_chanacs_validation_vtable_t server_ext_validate = {
.match_entity = server_ext_match_entity,
.match_user = server_ext_match_user,
.can_register_channel = server_ext_can_register_channel,
+ .allow_foundership = server_ext_allow_foundership,
};
static mowgli_heap_t *server_ext_heap = NULL;