Commit 5aa8025a3283811b7306951d9b6e14ed12b15f9f
- Diff rendering mode:
- inline
- side by side
IRC.rb
(1 / 5)
|   | |||
| 51 | 51 | @channels | |
| 52 | 52 | end | |
| 53 | 53 | ||
| 54 | # Alias for IRC.connect | ||
| 55 | def start | ||
| 56 | self.connect | ||
| 57 | end | ||
| 58 | |||
| 59 | 54 | # Open a connection to the server using the IRC Connect | |
| 60 | 55 | # method. Events yielded from the IRCConnection handler are | |
| 61 | 56 | # processed and then control is returned to IRCConnection | |
| … | … | ||
| 74 | 74 | @threads.each {|thr| thr.join } | |
| 75 | 75 | end | |
| 76 | 76 | end | |
| 77 | alias start connect | ||
| 77 | 78 | ||
| 78 | 79 | # Joins a channel on a server. | |
| 79 | 80 | def join(channel) |

