misc.anonradio: escape *'s
This commit is contained in:
		
							parent
							
								
									5e97b7e9cf
								
							
						
					
					
						commit
						d649adc5ab
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -357,9 +357,9 @@ anonradio.callback = async function (msg, line) {
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
    if (streamData && streamData.stream_start_iso8601) {
 | 
					    if (streamData && streamData.stream_start_iso8601) {
 | 
				
			||||||
      const startTime = new Date(streamData.stream_start_iso8601).getTime();
 | 
					      const startTime = new Date(streamData.stream_start_iso8601).getTime();
 | 
				
			||||||
      openmicTime = `-*- OpenMIC DJ has been streaming for ${formatTime(
 | 
					      openmicTime = `-\\*- OpenMIC DJ has been streaming for ${formatTime(
 | 
				
			||||||
        Date.now() - startTime
 | 
					        Date.now() - startTime
 | 
				
			||||||
      )} -*-\n`;
 | 
					      )} -\\*-\n`;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue