From: Cory Chaplin Date: Mon, 12 May 2014 13:56:34 +0000 (+0200) Subject: Cleanup X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f26a988acb73f34a4f2e3bcbe0f209318b53be08;p=KiwiIRC.git Cleanup --- diff --git a/server/irc/commands.js b/server/irc/commands.js index ffd2f26..4b9e894 100644 --- a/server/irc/commands.js +++ b/server/irc/commands.js @@ -6,72 +6,72 @@ var _ = require('lodash'), irc_numerics = { '001': 'RPL_WELCOME', - '002': 'RPL_YOURHOST',//OK - '003': 'RPL_CREATED',//OK - '004': 'RPL_MYINFO',//OK + '002': 'RPL_YOURHOST', + '003': 'RPL_CREATED', + '004': 'RPL_MYINFO', '005': 'RPL_ISUPPORT', '006': 'RPL_MAPMORE', '007': 'RPL_MAPEND', - '008': 'RPL_SNOMASK',//OK + '008': 'RPL_SNOMASK', '015': 'RPL_MAP', '017': 'RPL_MAPEND', - '200': 'RPL_TRACELINK',//OK - '201': 'RPL_TRACECONNECTING',//OK - '202': 'RPL_TRACEHANDSHAKE',//OK - '203': 'RPL_TRACEUNKNOWN',//OK - '204': 'RPL_TRACEOPERATOR',//OK - '205': 'RPL_TRACEUSER',//OK - '206': 'RPL_TRACESERVER',//OK - '207': 'RPL_TRACESERVICE',//OK - '208': 'RPL_TRACENEWTYPE',//OK - '209': 'RPL_TRACECLASS',//OK - '210': 'RPL_TRACERECONNECT',//OK - '211': 'RPL_STATSLINKINFO',//OK - '212': 'RPL_STATSCOMMANDS',//OK - '213': 'RPL_STATSCLINE',//OK - '214': 'RPL_STATSNLINE',//OK - '215': 'RPL_STATSILINE',//OK - '216': 'RPL_STATSKLINE',//OK - '217': 'RPL_STATSPLINE',//OK - '218': 'RPL_STATSYLINE',//OK - '219': 'RPL_ENDOFSTATS',//OK - '220': 'RPL_STATSBLINE',//OK - '221': 'RPL_UMODEIS',//OK - '222': 'RPL_SQLINE_NICK',//OK - '223': 'RPL_STATS_E',//OK - '224': 'RPL_STATS_D',//OK - '229': 'RPL_SPAMFILTER',//OK - '231': 'RPL_SERVICEINFO',//OK - '232': 'RPL_ENDOFSERVICES',//OK - '233': 'RPL_SERVICE',//OK - '234': 'RPL_SERVLIST',//OK - '235': 'RPL_SERVLISTEND',//OK - '241': 'RPL_STATSLLINE',//OK - '242': 'RPL_STATSUPTIME',//OK - '243': 'RPL_STATSOLINE',//OK - '244': 'RPL_STATSHLINE',//OK - '245': 'RPL_STATSSLINE',//OK - '246': 'RPL_STATSGLINE',//OK - '247': 'RPL_STATSXLINE',//OK - '248': 'RPL_STATSULINE',//OK - '249': 'RPL_STATSDEBUG',//OK + '200': 'RPL_TRACELINK', + '201': 'RPL_TRACECONNECTING', + '202': 'RPL_TRACEHANDSHAKE', + '203': 'RPL_TRACEUNKNOWN', + '204': 'RPL_TRACEOPERATOR', + '205': 'RPL_TRACEUSER', + '206': 'RPL_TRACESERVER', + '207': 'RPL_TRACESERVICE', + '208': 'RPL_TRACENEWTYPE', + '209': 'RPL_TRACECLASS', + '210': 'RPL_TRACERECONNECT', + '211': 'RPL_STATSLINKINFO', + '212': 'RPL_STATSCOMMANDS', + '213': 'RPL_STATSCLINE', + '214': 'RPL_STATSNLINE', + '215': 'RPL_STATSILINE', + '216': 'RPL_STATSKLINE', + '217': 'RPL_STATSPLINE', + '218': 'RPL_STATSYLINE', + '219': 'RPL_ENDOFSTATS', + '220': 'RPL_STATSBLINE', + '221': 'RPL_UMODEIS', + '222': 'RPL_SQLINE_NICK', + '223': 'RPL_STATS_E', + '224': 'RPL_STATS_D', + '229': 'RPL_SPAMFILTER', + '231': 'RPL_SERVICEINFO', + '232': 'RPL_ENDOFSERVICES', + '233': 'RPL_SERVICE', + '234': 'RPL_SERVLIST', + '235': 'RPL_SERVLISTEND', + '241': 'RPL_STATSLLINE', + '242': 'RPL_STATSUPTIME', + '243': 'RPL_STATSOLINE', + '244': 'RPL_STATSHLINE', + '245': 'RPL_STATSSLINE', + '246': 'RPL_STATSGLINE', + '247': 'RPL_STATSXLINE', + '248': 'RPL_STATSULINE', + '249': 'RPL_STATSDEBUG', '250': 'RPL_STATSCONN', '251': 'RPL_LUSERCLIENT', '252': 'RPL_LUSEROP', '253': 'RPL_LUSERUNKNOWN', '254': 'RPL_LUSERCHANNELS', '255': 'RPL_LUSERME', - '256': 'RPL_ADMINME',//OK - '257': 'RPL_ADMINLOC1',//OK - '258': 'RPL_ADMINLOC2',//OK - '259': 'RPL_ADMINEMAIL',//OK + '256': 'RPL_ADMINME', + '257': 'RPL_ADMINLOC1', + '258': 'RPL_ADMINLOC2', + '259': 'RPL_ADMINEMAIL', '265': 'RPL_LOCALUSERS', '266': 'RPL_GLOBALUSERS', - '290': 'RPL_HELPHDR',//OK - '291': 'RPL_HELPOP',//OK - '292': 'RPL_HELPTLR',//OK + '290': 'RPL_HELPHDR', + '291': 'RPL_HELPOP', + '292': 'RPL_HELPTLR', '301': 'RPL_AWAY', - '304': 'RPL_ZIPSTATS',//OK + '304': 'RPL_ZIPSTATS', '307': 'RPL_WHOISREGNICK', '310': 'RPL_WHOISHELPOP', '311': 'RPL_WHOISUSER', @@ -82,7 +82,7 @@ irc_numerics = { '317': 'RPL_WHOISIDLE', '318': 'RPL_ENDOFWHOIS', '319': 'RPL_WHOISCHANNELS', - '320': 'RPL_WHOISSPECIAL',//OK + '320': 'RPL_WHOISSPECIAL', '321': 'RPL_LISTSTART', '322': 'RPL_LIST', '323': 'RPL_LISTEND', @@ -94,7 +94,7 @@ irc_numerics = { '332': 'RPL_TOPIC', '333': 'RPL_TOPICWHOTIME', '335': 'RPL_WHOISBOT', - '338': 'RPL_WHOISACTUALLY',//OK + '338': 'RPL_WHOISACTUALLY', '341': 'RPL_INVITING', '352': 'RPL_WHOREPLY', '353': 'RPL_NAMEREPLY', @@ -104,23 +104,23 @@ irc_numerics = { '367': 'RPL_BANLIST', '368': 'RPL_ENDOFBANLIST', '369': 'RPL_ENDOFWHOWAS', - '371': 'RPL_INFO',//OK + '371': 'RPL_INFO', '372': 'RPL_MOTD', - '374': 'RPL_ENDINFO',//OK + '374': 'RPL_ENDINFO', '375': 'RPL_MOTDSTART', '376': 'RPL_ENDOFMOTD', '378': 'RPL_WHOISHOST', '379': 'RPL_WHOISMODES', - '381': 'RPL_NOWOPER',//OK + '381': 'RPL_NOWOPER', '396': 'RPL_HOSTCLOACKING', '401': 'ERR_NOSUCHNICK', - '402': 'ERR_NOSUCHSERVER',//OK + '402': 'ERR_NOSUCHSERVER', '404': 'ERR_CANNOTSENDTOCHAN', '405': 'ERR_TOOMANYCHANNELS', '406': 'ERR_WASNOSUCHNICK', '421': 'ERR_UNKNOWNCOMMAND', '422': 'ERR_NOMOTD', - '423': 'ERR_NOADMININFO',//OK + '423': 'ERR_NOADMININFO', '432': 'ERR_ERRONEUSNICKNAME', '433': 'ERR_NICKNAMEINUSE', '441': 'ERR_USERNOTINCHANNEL',