mirror of
				https://github.com/ergochat/ergo.git
				synced 2025-10-31 13:57:23 +01:00 
			
		
		
		
	strings: Remove CTCP stuff, unused
This commit is contained in:
		
							parent
							
								
									266c534af9
								
							
						
					
					
						commit
						bc42960552
					
				| @ -94,12 +94,3 @@ func NewText(str string) Text { | ||||
| func (text Text) String() string { | ||||
| 	return string(text) | ||||
| } | ||||
| 
 | ||||
| // CTCPText is text suitably escaped for CTCP. | ||||
| type CTCPText string | ||||
| 
 | ||||
| var ctcpEscaper = strings.NewReplacer("\x00", "\x200", "\n", "\x20n", "\r", "\x20r") | ||||
| 
 | ||||
| func NewCTCPText(str string) CTCPText { | ||||
| 	return CTCPText(ctcpEscaper.Replace(str)) | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel Oaks
						Daniel Oaks