Nathaniel van Diepen 10 năm trước cách đây
mục cha
commit
80569017a5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/OmnomIRC.js

+ 1 - 1
app/OmnomIRC.js

@@ -160,7 +160,7 @@ if(cluster.isMaster){
 			case 'M':
 				if(typeof irc != 'undefined'){
 					msg = JSON.parse(msg);
-					if(msg.message){
+					if(typeof msg.message != 'udefined'){
 						irc.say(msg.room,'('+options.origins[msg.origin][0]+')'+'<'+msg.from+'> '+msg.message);
 					}
 				}