Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (18 sloc) 325 Bytes
class Sender
attr_accessor :ident, :name, :hostmask
def initialize(ident, name, hostmask)
@ident = ident
@name = name
@hostmask = hostmask
end
def merge(sender)
self
end
def to_loghash
{
:ident => @ident||@name,
:name => @name,
:hostmask => @hostmask
}
end
end