1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 15:53:13 +02:00

Make the hops parameter to Server optional.

This commit is contained in:
Sadie Powell
2026-03-26 12:25:09 +00:00
parent 1b2b4386c1
commit 5006993d0a
11 changed files with 25 additions and 23 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ struct IRCDMessageServer final
// Servers other then our immediate uplink are introduced via SID
if (params[1] != "1")
return;
new Server(source.GetServer() == NULL ? Me : source.GetServer(), params[0], 1, params[2], UplinkSID);
new Server(source.GetServer() == NULL ? Me : source.GetServer(), params[0], params[2], UplinkSID, 1);
IRCD->SendPing(Me->GetName(), params[0]);
}
};