- if(c == broadcast)
- return broadcast_meta(NULL, buffer, len);
- else
- return send_meta(c, buffer, len);
-}
-
-int forward_request(connection_t *from)
-{
- int request;
- cp();
-
- cp();
-
- if(debug_level >= DEBUG_PROTOCOL) {
- sscanf(from->buffer, "%d", &request);
- if(debug_level >= DEBUG_META)
- logger(DEBUG_ALWAYS, LOG_DEBUG, _("Forwarding %s from %s (%s): %s"),
- request_name[request], from->name, from->hostname,
- from->buffer);
- else
- logger(DEBUG_ALWAYS, LOG_DEBUG, _("Forwarding %s from %s (%s)"),
- request_name[request], from->name, from->hostname);
+ if(c == everyone) {
+ broadcast_meta(NULL, request, len);
+ return true;
+ } else {
+ if(id) {
+ return send_meta(c, request, len);
+ } else {
+ send_meta_raw(c, request, len);
+ return true;
+ }