mirror of
https://github.com/osmarks/ngircd.git
synced 2025-04-08 00:36:39 +00:00
Infom clients when other servers change their user modes
This commit is contained in:
parent
d692286d7a
commit
3dc3a03538
@ -271,6 +271,14 @@ client_exit:
|
||||
|
||||
if (Client_Type(Client) == CLIENT_SERVER) {
|
||||
/* Forward modes to other servers */
|
||||
if (Client_Conn(Target) != NONE) {
|
||||
/* Remote server (service?) changed modes
|
||||
* for one of our clients. Inform it! */
|
||||
IRC_WriteStrClientPrefix(Target, Origin,
|
||||
"MODE %s :%s",
|
||||
Client_ID(Target),
|
||||
the_modes);
|
||||
}
|
||||
IRC_WriteStrServersPrefix(Client, Origin,
|
||||
"MODE %s :%s",
|
||||
Client_ID(Target),
|
||||
|
Loading…
x
Reference in New Issue
Block a user