Sha256: a14656802c51e47055dd9e9cb772a901db3540a318894dcdbd0b8496eaa0a4d0
Contents?: true
Size: 550 Bytes
Versions: 17
Compression:
Stored size: 550 Bytes
Contents
hook(type: :ukick) do |dat| dat[:plug].users[dat[:nick]] = {} unless dat[:plug].users[dat[:nick]] u = dat[:plug].users[dat[:nick]] u[:nick] = dat[:nick] u[:user] = dat[:user] u[:host] = dat[:host] unless dat[:plug].chans[dat[:channel]] dat[:plug].chans[dat[:channel]] = {} dat[:plug].chans[dat[:channel]][:users] = [] end dat[:plug].chans[dat[:channel]][:users].delete dat[:target] if dat[:plug].chans[dat[:channel]][:users].include? dat[:target] dat[:plug].join(dat[:channel]) if dat[:target] == dat[:plug].nick end
Version data entries
17 entries across 17 versions & 1 rubygems