Revision 30ceda44
Added by Marc Dequènes almost 14 years ago
- ID 30ceda44571724080f101a12a17f798a3b0c68d3
lib/cyborghood/cyborg/botnet/task.rb | ||
---|---|---|
if peer == :self
|
||
logger.debug "Task '#{@name}': Talking to oneself"
|
||
else
|
||
# convert short peer name to full (implicitly means local)
|
||
peer = "#{peer}@#{@bot.host_fqdn}" unless peer.index("@")
|
||
|
||
logger.debug "Task '#{@name}': Trying to contact peer '#{peer}'"
|
||
end
|
||
|
Also available in: Unified diff
[fix] Botnet/Task: a short peer name is an implicit way to look for a local bot