@ -844,17 +844,12 @@ function allocate_post(msg, client, callback) {
var parsed = common . parse _name ( msg . name ) ;
var parsed = common . parse _name ( msg . name ) ;
post . name = parsed [ 0 ] ;
post . name = parsed [ 0 ] ;
var spec = STATE . hot . SPECIAL _TRIPCODES ;
var spec = STATE . hot . SPECIAL _TRIPCODES ;
const notrip = ( n , s ) => {
const b = n ? "!" :
s ? "!!" : undefined ;
if ( b ) return b + ( STATE . hot . NOTRIP || "" ) ;
} ;
if ( spec && parsed [ 1 ] && parsed [ 1 ] in spec ) {
if ( spec && parsed [ 1 ] && parsed [ 1 ] in spec ) {
post . trip = spec [ parsed [ 1 ] ] ;
post . trip = spec [ parsed [ 1 ] ] ;
}
}
else if ( parsed [ 1 ] || parsed [ 2 ] ) {
else if ( parsed [ 1 ] || parsed [ 2 ] ) {
const trip = notrip ( parsed [ 1 ] , parsed [ 2 ] ) ; //tripcode.hash(parsed[1], parsed[2]);
var trip = "Can this just be a string?" ; //tripcode.hash(parsed[1], parsed[2]);
if ( trip && STATE . hot . NOTRIP !== null )
if ( trip )
post . trip = trip ;
post . trip = trip ;
}
}
}
}