:^)
This commit is contained in:
		@@ -76,7 +76,10 @@ export class irc extends EventEmitter {
 | 
			
		||||
    logger.debug(`(${this.network}) out: ${data}`);
 | 
			
		||||
  }
 | 
			
		||||
  sendmsg(mode, recipient, msg) {
 | 
			
		||||
    msg.split(/\r?\n/).forEach(e => {
 | 
			
		||||
    msg = msg.split(/\r?\n/);
 | 
			
		||||
    if(msg.length > 6)
 | 
			
		||||
      return false;
 | 
			
		||||
    msg.forEach(e => {
 | 
			
		||||
      this.send( msgmodes[mode].replace("{recipient}", recipient).replace("{msg}", e) );
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user