Changeset 7661 for lang/ruby

Show
Ignore:
Timestamp:
03/08/08 23:02:42 (7 years ago)
Author:
cho45
Message:

lang/ruby/net-irc/trunk/examples/lig.rb:

priv したとき invalid session いわれたら join しなおす

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/net-irc/trunk/examples/lig.rb

    r7109 r7661  
    141141                log "Error: #{e.code}: #{e.message}" 
    142142                log "Coundn't say to #{channel}." 
     143                on_join(Message.new(nil, "JOIN", target)) if e.code == 102 # invalid session 
    143144        end 
    144145