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:
@@ -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]);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user