lib/message.js
function() {
        switch(self.command) {          
            case constants.WHOIS:
                return (self.params[0][0] == 'A');
            case constants.PASSWORD:
                return true;
            case constants.NUMERICINFO:
            case constants.GENERALINFO: // client-to-server
                return (self.params.length < 2) || (self.params[0][0] == 'c');
            case constants.SERVERMESSAGE:
                return true;
            default:
                return false;
        }
    }
function() {
        switch(self.command) {          
            case constants.WHOIS:
                return (self.params[0][0] == 'A');
            case constants.PASSWORD:
                return true;
            case constants.NUMERICINFO:
            case constants.GENERALINFO: // client-to-server
                return (self.params.length < 2) || (self.params[0][0] == 'c');
            case constants.SERVERMESSAGE:
                return true;
            default:
                return false;
        }
    }
function ( ) { switch ( self . command ) { case constants . WHOIS : return ( self . params [ 0 ] [ 0 ] == 'A' ) ; case constants . PASSWORD : return true ; case constants . NUMERICINFO : case constants . GENERALINFO : // client-to-server return ( self . params . length < 2 ) || ( self . params [ 0 ] [ 0 ] == 'c' ) ; case constants . SERVERMESSAGE : return true ; default : return false ; } }
returns true for commands like HcCreatures
returns true for commands like HcCreatures