]>
Commit | Line | Data |
---|---|---|
1 | When we introduce a new server we got from our uplink to our downlinks, | |
2 | check the IsSendOpername() against this new server | |
3 | and not on the client (thus the server link) that sent us this message. | |
4 | ||
5 | Now the IRCd has the correct info on remote servers whether they accepted | |
6 | opernames or not. | |
7 | ||
8 | diff -r 39bad1079995 include/client.h | |
9 | --- a/include/client.h | |
10 | +++ b/include/client.h | |
11 | @@ -162,6 +162,7 @@ | |
12 | FLAG_HUB, /**< server is a hub */ | |
13 | FLAG_IPV6, /**< server understands P10 IPv6 addrs */ | |
14 | FLAG_SERVICE, /**< server is a service */ | |
15 | + FLAG_OPERNAME, /**< server sends oper name in mode string */ | |
16 | FLAG_GOTID, /**< successful ident lookup achieved */ | |
17 | FLAG_DOID, /**< I-lines say must use ident return */ | |
18 | FLAG_NONL, /**< No \n in buffer */ | |
19 | @@ -190,7 +191,6 @@ | |
20 | FLAG_NOCHAN, /**< user's channels are hidden */ | |
21 | FLAG_NOIDLE, /**< user's idletime is hidden */ | |
22 | FLAG_XTRAOP, /**< oper has special powers */ | |
23 | - FLAG_OPERNAME, /**< Server sends oper name in mode string */ | |
24 | ||
25 | FLAG_LAST_FLAG, /**< number of flags */ | |
26 | FLAG_LOCAL_UMODES = FLAG_LOCOP, /**< First local mode flag */ | |
27 | diff -r 39bad1079995 ircd/s_serv.c | |
28 | --- a/ircd/s_serv.c | |
29 | +++ b/ircd/s_serv.c | |
30 | @@ -231,7 +231,7 @@ | |
31 | cli_hopcount(acptr) + 1, cli_serv(acptr)->timestamp, | |
32 | protocol_str, Protocol(acptr), NumServCap(acptr), | |
33 | IsHub(acptr) ? "h" : "", IsService(acptr) ? "s" : "", | |
34 | - IsIPv6(acptr) ? "6" : "", IsSendOperName(cptr) ? "n" : "", cli_info(acptr)); | |
35 | + IsIPv6(acptr) ? "6" : "", IsSendOperName(acptr) ? "n" : "", cli_info(acptr)); | |
36 | } | |
37 | } | |
38 |