From 8a472cf2ea743415829a5f29487928e6e14a45a9 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 23 Jun 2008 00:46:58 +0200 Subject: rfc2812.rb: warn about unhandled numeric replies too --- lib/rbot/rfc2812.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rbot/rfc2812.rb b/lib/rbot/rfc2812.rb index 647b986c..ce71026a 100644 --- a/lib/rbot/rfc2812.rb +++ b/lib/rbot/rfc2812.rb @@ -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 -- cgit v1.2.3