Created
October 28, 2011 16:27
-
-
Save toritori0318/1322691 to your computer and use it in GitHub Desktop.
redmine_irc_notifications の パッチファイル
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % diff -u lib/redmine_irc_notifications/irc.rb-org lib/redmine_irc_notifications/irc.rb <master ✗> | |
| --- lib/redmine_irc_notifications/irc.rb-org 2011-10-29 01:24:12.000000000 +0900 | |
| +++ lib/redmine_irc_notifications/irc.rb 2011-10-29 01:17:07.000000000 +0900 | |
| @@ -47,8 +47,9 @@ | |
| end | |
| sock = TCPSocket.open(@@server, @@port || 6667) | |
| - sock.puts "USER #{@@user} 0 * #{@@user}" | |
| sock.puts "NICK #{@@nick}" | |
| + sock.puts "USER #{@@user} 0 * #{@@user}" | |
| + sock.puts "JOIN #{@@channel}" | |
| unless nick_available?(sock) | |
| if @@nickserv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment