client /connect alias to /server
authorDarren <darren@darrenwhitlen.com>
Mon, 22 Sep 2014 05:00:10 +0000 (06:00 +0100)
committerDarren <darren@darrenwhitlen.com>
Mon, 22 Sep 2014 05:00:10 +0000 (06:00 +0100)
client/src/misc/clientuicommands.js

index d6fdc5b0b0c852b439739f8fd2e89de7978a43c2..39ea24fd054b484414ca6d07be89b4bef0e4b940 100644 (file)
     ClientUiCommands.prototype.addDefaultAliases = function() {
         $.extend(this.controlbox.preprocessor.aliases, {
             // General aliases
-            '/p':    '/part $1+',
-            '/me':   '/action $1+',
-            '/j':    '/join $1+',
-            '/q':    '/query $1+',
-            '/w':    '/whois $1+',
-            '/raw':  '/quote $1+',
+            '/p':        '/part $1+',
+            '/me':       '/action $1+',
+            '/j':        '/join $1+',
+            '/q':        '/query $1+',
+            '/w':        '/whois $1+',
+            '/raw':      '/quote $1+',
+            '/connect':  '/server $1+',
 
             // Op related aliases
             '/op':       '/quote mode $channel +o $1+',