mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	LINKS command: support <mask> parameter
The <mask> can be used to limit the servers shown in the listing.
This commit is contained in:
		| @@ -254,7 +254,8 @@ IRC_LINKS(CLIENT *Client, REQUEST *Req) | ||||
|  | ||||
| 	c = Client_First(); | ||||
| 	while (c) { | ||||
| 		if (Client_Type(c) == CLIENT_SERVER) { | ||||
| 		if (Client_Type(c) == CLIENT_SERVER | ||||
| 		    && MatchCaseInsensitive(mask, Client_ID(c))) { | ||||
| 			if (!IRC_WriteStrClient(from, RPL_LINKS_MSG, | ||||
| 					Client_ID(from), Client_ID(c), | ||||
| 					Client_ID(Client_TopServer(c) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton