public
Fork of defunkt/matzbot
Description: matzbot is nice so we are nice
Clone URL: git://github.com/courtenay/matzbot.git
Fix order so they actually run
evanphx (author)
Tue Aug 14 17:13:25 -0700 2007
commit  e98f1df5bee8efe81260ca2c7998cff258f1ffe7
tree    28b12f960d2a521ae642d1007e6d49c2300d61ab
parent  bd12deb7130ac16d21444a7acb1173c3fb5c72e4
...
24
25
26
 
 
27
28
29
30
31
32
33
...
24
25
26
27
28
29
30
 
 
31
32
33
0
@@ -24,10 +24,10 @@ module MatzBot::Commands
0
       name = REXML::XPath.first(entry, "./author/name")
0
       hash = link.attributes['href'].split("=").last
0
       
0
+ break if hash == last_hash
0
+
0
       last_hash = hash if i == 1
0
       
0
- break if hash == last_hash
0
-
0
       count = 0
0
       REXML::XPath.each(entry, "./content/div/ul/li") { |e| count += 1 }
0
       say "#{hash[0..7]} by #{name.text}, #{count} files changed"

Comments

    No one has commented yet.