]> jfr.im git - irc/quakenet/snircd-patchqueue.git/blame - nserverflag.patch
done some work on cansendtochan.patch, added nserverflag.patch, and probably some...
[irc/quakenet/snircd-patchqueue.git] / nserverflag.patch
CommitLineData
7efbed3b 1When we introduce a new server we got from our uplink to our downlinks,
2check the IsSendOpername() against this new server
3and not on the client (thus the server link) that sent us this message.
4
5Now the IRCd has the correct info on remote servers whether they accepted
6opernames or not.
7
8
9diff -r 0ef8d9c66131 ircd/s_serv.c
10--- a/ircd/s_serv.c Wed Jan 21 18:00:00 2009 +0100
11+++ b/ircd/s_serv.c Wed Jan 21 18:25:34 2009 +0100
12@@ -231,7 +231,7 @@
13 cli_hopcount(acptr) + 1, cli_serv(acptr)->timestamp,
14 protocol_str, Protocol(acptr), NumServCap(acptr),
15 IsHub(acptr) ? "h" : "", IsService(acptr) ? "s" : "",
16- IsIPv6(acptr) ? "6" : "", IsSendOperName(cptr) ? "n" : "", cli_info(acptr));
17+ IsIPv6(acptr) ? "6" : "", IsSendOperName(acptr) ? "n" : "", cli_info(acptr));
18 }
19 }
20