Changeset 32672
- Timestamp:
- 04/21/09 01:19:15 (4 years ago)
- Files:
-
- 1 modified
-
lang/ruby/net-irc/trunk/examples/tig.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/net-irc/trunk/examples/tig.rb
r32670 r32672 528 528 def on_whois(m) 529 529 nick = m.params[0] 530 users = @friends || [] 531 users.unshift @me if @me 530 users = [] 531 users.push @me if @me 532 users.push @friends if @friends 532 533 f = users.find {|i| i["screen_name"].upcase == nick.upcase } 533 534 if f … … 550 551 case 551 552 when channel.downcase == main_channel 552 users = @friends || [] 553 users.unshift @me if @me 553 users = [] 554 users.push @me if @me 555 users.push @friends if @friends 554 556 users.each {|friend| whoreply channel, friend } 555 557 post server_name, RPL_ENDOFWHO, @nick, channel
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)