diff --git a/package.json b/package.json index 74b7a1fa..94546ba7 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { "name": "gun" -, "version": "0.0.1m" +, "version": "0.0.1n" , "author": "Mark Nadal" , "description": "Graph engine." , "engines": { diff --git a/shots.js b/shots.js index 8be95f21..80a18c73 100644 --- a/shots.js +++ b/shots.js @@ -171,6 +171,13 @@ module.exports = require('theory') console.log(m); return; } + (function(){ + if(opt.src && opt.src.send){ + var m = {count: 1, how:{gun: 9}}; + opt.src.send(m); + console.log("send that dumping message!", m); + } + })(); var where = a.text.is(m.where)? m.where : m.where.at; if(m.how.gun === 3){ shot.shell(m.what._['%']||where, function(g,e){ @@ -205,13 +212,6 @@ module.exports = require('theory') }); } shot.pump = function(fn){ - (function(){ - if(opt.src && opt.src.send){ - var m = {count: 1, how:{gun: 9}}; - opt.src.send(m); - console.log("send that pumping message!", m); - } - })(); shot.pump.action = fn || shot.pump.action; return shot; }