summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-06-23 00:46:58 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-06-23 01:11:36 +0200
commit8a472cf2ea743415829a5f29487928e6e14a45a9 (patch)
treeea572eb58800a5faa0422e72661b950ad39a6348
parent7c0c7d49240c56124ba0d99a14f6d7156317c499 (diff)
rfc2812.rb: warn about unhandled numeric replies too
-rw-r--r--lib/rbot/rfc2812.rb1
1 files changed, 1 insertions, 0 deletions
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