Nathaniel van Diepen 10 years ago
parent
commit
80569017a5
1 changed files with 1 additions and 1 deletions
  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);
 					}
 				}