Browse Source

Fixed /help command

Nathaniel van Diepen 11 năm trước cách đây
mục cha
commit
ba4293479e
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      app/www/js/omnomirc.js

+ 1 - 2
app/www/js/omnomirc.js

@@ -110,7 +110,7 @@
 			{ // help
 				cmd: 'help',
 				fn: function(args){
-					if(exists(args[1])){
+					if(!exists(args[1])){
 						var m = 'Commands:',i;
 						for(i in commands){
 							m += ' '+commands[i].cmd;
@@ -125,7 +125,6 @@
 								return;
 							}
 						}
-						$o.send('/help');
 					}
 				}
 			},