Made event posting an one-liner

sqashed the code as suggested by LexManos.