Permalink
Browse files

update TODO

  • Loading branch information...
1 parent 6c8357f commit 05ff69945977adbebb43ea62db3d330bb6453b63 @vangberg committed Dec 21, 2009
Showing with 7 additions and 3 deletions.
  1. +2 −0 Rakefile
  2. +0 −2 TODO
  3. +5 −1 lib/isaac/bot.rb
View
@@ -1,3 +1,5 @@
+task :default => :test
+
task :test do
require 'rake/runtest'
Rake.run_tests
View
2 TODO
@@ -2,5 +2,3 @@
- mode() for setting nick/channel modes
- a bunch of IRC commands: ban, names, list, etc.
- async!
-- consider replacing the regexps in #parse with a regular parser
-- on :join/:part
View
@@ -207,7 +207,11 @@ def initialize(msg=nil)
end
def numeric_reply?
- @numeric_reply ||= !!@command.match(/^\d\d\d$/)
+ !!numeric_reply
+ end
+
+ def numeric_reply
+ @numeric_reply ||= @command.match(/^\d\d\d$/)
end
def parse

0 comments on commit 05ff699

Please sign in to comment.