]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
rfc2812.rb: warn about unhandled numeric replies too
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 22 Jun 2008 22:46:58 +0000 (00:46 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 22 Jun 2008 23:11:36 +0000 (01:11 +0200)
lib/rbot/rfc2812.rb

index 647b986cf2f4a3b67b87b4a9947120d62d1d119c..ce71026a47fc27fee84ad1f4f615562f2d5dc3f2 100644 (file)
@@ -1289,6 +1289,7 @@ module Irc
           parse_mode(serverstring, argv[1..-1], data)
           handle(:mode, data)
         else
+          warning "Unknown message #{serverstring.inspect}"
           handle(:unknown, data)
         end
        return # We've processed the numeric reply