diff --git a/modules/client/directory/user.cc b/modules/client/directory/user.cc index da5572efe..6e46c87ec 100644 --- a/modules/client/directory/user.cc +++ b/modules/client/directory/user.cc @@ -45,7 +45,7 @@ post__search(client &client, const string_view &query { !startswith(search_term, '@')? - string_view{strlcat{qbuf, search_term}}: + string_view{ircd::strlcat{qbuf, search_term}}: string_view{search_term} }; diff --git a/modules/console.cc b/modules/console.cc index c983daa4f..84ee2b947 100644 --- a/modules/console.cc +++ b/modules/console.cc @@ -939,7 +939,7 @@ bool console_cmd__prof__vg__dump(opt &out, const string_view &line) { char reason[128]; - prof::vg::dump(data(strlcpy(reason, line))); + prof::vg::dump(data(ircd::strlcpy(reason, line))); return true; } diff --git a/modules/federation/sender.int.h b/modules/federation/sender.int.h index e720a9f62..9b0bc79e1 100644 --- a/modules/federation/sender.int.h +++ b/modules/federation/sender.int.h @@ -85,7 +85,7 @@ struct node void push(std::shared_ptr); node(const string_view &remote) - :remote{strlcpy{rembuf, remote}} + :remote{ircd::strlcpy{mutable_buffer{rembuf}, remote}} ,room{this->remote} {} };