mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	Lists_MakeMask: Don't destroy source buffer
This commit is contained in:
		| @@ -285,6 +285,7 @@ Lists_MakeMask(const char *Pattern, char *mask, size_t len) | ||||
| 		strlcpy(mask, Pattern, len - 5); | ||||
| 		strlcat(mask, "!*@", len); | ||||
| 		strlcat(mask, at, len); | ||||
| 		at--; *at = '@'; | ||||
| 	} else { | ||||
| 		/* All parts (nick, user and domain name) are given */ | ||||
| 		strlcpy(mask, Pattern, len); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton