 class ModeratorNotify extends ModelOperation
     transaction: (t, cb) ->
         # TODO: walk in batches
-        logger.debug "moderatorNotifyNotification: %s", inspect(@req)
+        logger.debug "moderatorNotifyNotification: #{inspect(@req)}"
         t.getNodeModeratorListeners @req.node, (err, listeners) =>
             if err
                 return cb err


    opClass = OPERATIONS[opName]
    unless opClass
        logger.warn "Unimplemented operation #{opName}: %s", inspect(request)
        return cb(new errors.FeatureNotImplemented("Unimplemented operation #{opName}"))

    logger.debug "operations.run: %s", inspect(request)
    op = new opClass(router, request)
    op.run (error, result) ->
        if error

class Notify extends ModelOperation
    transaction: (t, cb) ->
        # TODO: walk in batches
        logger.debug "notifyNotification: #{inspect @req}"
        t.getNodeListeners @req.node, (err, listeners) =>
            if err
                return cb err
