mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	Update 1644010796173-convert-hard-mutes.js
This commit is contained in:
		
							parent
							
								
									fd5a304821
								
							
						
					
					
						commit
						c456825d0e
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -9,6 +9,7 @@ module.exports = class convertHardMutes1644010796173 {
 | 
				
			||||||
        for(let i = 0; i < entries.length; i++) {
 | 
					        for(let i = 0; i < entries.length; i++) {
 | 
				
			||||||
            let words = entries[i].mutedWords
 | 
					            let words = entries[i].mutedWords
 | 
				
			||||||
                .map(line => {
 | 
					                .map(line => {
 | 
				
			||||||
 | 
															if (typeof line === 'string') return [];
 | 
				
			||||||
                    const regexp = line.join(" ").match(/^\/(.+)\/(.*)$/);
 | 
					                    const regexp = line.join(" ").match(/^\/(.+)\/(.*)$/);
 | 
				
			||||||
                    if (regexp) {
 | 
					                    if (regexp) {
 | 
				
			||||||
                        // convert regexp's
 | 
					                        // convert regexp's
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue