1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 23:26:38 +02:00

Add defaults for service:{user,host,gecos}.

This commit is contained in:
Sadie Powell
2025-05-10 13:36:25 +01:00
parent ca30bb2370
commit 2609ff44c6
+3 -3
View File
@@ -336,9 +336,9 @@ Conf::Conf() : Block("")
const Block &service = this->GetBlock("service", i);
const Anope::string &nick = service.Get<const Anope::string>("nick"),
&user = service.Get<const Anope::string>("user"),
&host = service.Get<const Anope::string>("host"),
&gecos = service.Get<const Anope::string>("gecos"),
&user = service.Get<const Anope::string>("user", nick.lower()),
&host = service.Get<const Anope::string>("host", servername),
&gecos = service.Get<const Anope::string>("gecos", nick),
&modes = service.Get<const Anope::string>("modes"),
&channels = service.Get<const Anope::string>("channels"),
&alias = service.Get<const Anope::string>("alias", nick.upper());