mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 15:36:21 +00:00
Added integer settings for plugins
This commit is contained in:
@@ -356,3 +356,15 @@ api_settings_set_string(const char *const group, const char *const key, const ch
|
||||
{
|
||||
plugin_settings_set_string(group, key, value);
|
||||
}
|
||||
|
||||
int
|
||||
api_settings_get_int(const char *const group, const char *const key, int def)
|
||||
{
|
||||
return plugin_settings_get_int(group, key, def);
|
||||
}
|
||||
|
||||
void
|
||||
api_settings_set_int(const char *const group, const char *const key, int value)
|
||||
{
|
||||
plugin_settings_set_int(group, key, value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user