Browse Source

Hopefully final commit before merge

Sorunome 10 years ago
parent
commit
6c6a67b015
2 changed files with 2 additions and 3 deletions
  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();
 });