Browse Source

Fixed /help command

Nathaniel van Diepen 11 years ago
parent
commit
ba4293479e
1 changed files with 1 additions and 2 deletions
  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');
 					}
 				}
 			},