소스 검색

Hopefully final commit before merge

Sorunome 10 년 전
부모
커밋
6c6a67b015
2개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 1
      app/OmnomIRC.js
  2. 2 2
      app/www/data/plugins/test/script.js

+ 0 - 1
app/OmnomIRC.js

@@ -148,7 +148,6 @@ if(cluster.isMaster){
 	process.on('message',function(msg){
 		var c = msg[0];
 		msg = msg.substr(1);
-		logger.debug('Child recieved command '+c+' with message '+msg);
 		
 		switch(c){
 			case 'Q':

+ 2 - 2
app/www/data/plugins/test/script.js

@@ -4,9 +4,9 @@ hook('message',function(msg,from,room,origin){
 		$o.chat.send(origin,room);
 	}
 });
-/*hook('send',function(msg,room){
+hook('send',function(msg,room){
 	return msg.toLowerCase()!='the game';
-});*/
+});
 hook('start',function(){
 	$('body').show();
 });