mirror of
https://github.com/anope/anope.git
synced 2026-06-27 10:26:38 +02:00
Make the hops parameter to Server optional.
This commit is contained in:
+1
-1
@@ -518,7 +518,7 @@ bool Anope::Init(int ac, char **av)
|
||||
|
||||
/* Create me */
|
||||
const auto &block = Config->GetBlock("serverinfo");
|
||||
Me = new Server(NULL, block.Get<const Anope::string>("name"), 0, block.Get<const Anope::string>("description"), block.Get<const Anope::string>("id"));
|
||||
Me = new Server(NULL, block.Get<const Anope::string>("name"), block.Get<const Anope::string>("description"), block.Get<const Anope::string>("id"));
|
||||
for (const auto &[_, bi] : *BotListByNick)
|
||||
{
|
||||
bi->server = Me;
|
||||
|
||||
Reference in New Issue
Block a user