mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd:Ⓜ️:users: Rename for consistency.
This commit is contained in:
parent
ea4d74967b
commit
c7f9521a3f
2 changed files with 6 additions and 6 deletions
|
@ -13,14 +13,14 @@
|
||||||
|
|
||||||
namespace ircd::m::users
|
namespace ircd::m::users
|
||||||
{
|
{
|
||||||
struct opts extern const default_opts;
|
struct opts extern const opts_default;
|
||||||
|
|
||||||
// Iterate the users
|
// Iterate the users
|
||||||
bool for_each(const opts &, const user::closure_bool &);
|
bool for_each(const opts &, const user::closure_bool &);
|
||||||
bool for_each(const user::closure_bool &);
|
bool for_each(const user::closure_bool &);
|
||||||
|
|
||||||
size_t count(const opts & = default_opts);
|
size_t count(const opts & = opts_default);
|
||||||
bool exists(const opts & = default_opts);
|
bool exists(const opts & = opts_default);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Shape the query by matching users based on the options filled in.
|
/// Shape the query by matching users based on the options filled in.
|
||||||
|
|
|
@ -20,8 +20,8 @@ IRCD_MODULE
|
||||||
"Matrix users interface"
|
"Matrix users interface"
|
||||||
};
|
};
|
||||||
|
|
||||||
decltype(ircd::m::users::default_opts)
|
decltype(ircd::m::users::opts_default)
|
||||||
ircd::m::users::default_opts;
|
ircd::m::users::opts_default;
|
||||||
|
|
||||||
bool
|
bool
|
||||||
IRCD_MODULE_EXPORT
|
IRCD_MODULE_EXPORT
|
||||||
|
@ -53,7 +53,7 @@ bool
|
||||||
IRCD_MODULE_EXPORT
|
IRCD_MODULE_EXPORT
|
||||||
ircd::m::users::for_each(const user::closure_bool &closure)
|
ircd::m::users::for_each(const user::closure_bool &closure)
|
||||||
{
|
{
|
||||||
return for_each(default_opts, closure);
|
return for_each(opts_default, closure);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
Loading…
Reference in a new issue