Changeset 6454
- Timestamp:
- 02/10/08 00:25:33 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/ruby/chokan/branches/citrus/plugins/plusplus.rb
r6401 r6454 22 22 notice_karma(channel, nick) 23 23 24 when /\(([^)]{#{@least},})\)(\+\+|--)/, /(\w{#{@least},})(\+\+|--)/ 24 when /\(([^)]{#{@least},})\)(\+\+|--)/, /(\w{#{@least},})(\+\+|--)/u 25 25 nick, dir = Regexp.last_match.captures 26 26 return if @excludes.include?(nick) … … 100 100 @plugin.on_privmsg(@prefix, "#test", "karma for unk") 101 101 @socket.string.should == "NOTICE #test :don't know unk\r\n" 102 103 @socket.string = "" 104 @plugin.on_privmsg(@prefix, "#test", "文乃さん++") 105 @socket.string.should == "NOTICE #test :文乃さん: 1 (1++ 0--)\r\n" 106 102 107 end 103 108 end
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)