Commit 5a011387d290b95fd0e0fb73cefb4bba208d1ff5
- Diff rendering mode:
- inline
- side by side
IRC.rb
(1 / 1)
|   | |||
| 55 | 55 | # method. Events yielded from the IRCConnection handler are | |
| 56 | 56 | # processed and then control is returned to IRCConnection | |
| 57 | 57 | def connect | |
| 58 | quithandler = lambda { send_quit(); IRCConnection.quit } | ||
| 58 | quithandler = lambda { send_quit(); IRCConnection.quit; exit 0 } | ||
| 59 | 59 | trap("INT", quithandler) | |
| 60 | 60 | trap("TERM", quithandler) | |
| 61 | 61 |

