diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/rfc2812.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rbot/rfc2812.rb b/lib/rbot/rfc2812.rb index 800c0120..21cd9ff7 100644 --- a/lib/rbot/rfc2812.rb +++ b/lib/rbot/rfc2812.rb @@ -1474,6 +1474,9 @@ module Irc when :MODE parse_mode(serverstring, argv, data) handle(:mode, data) + when :ERROR + data[:message] = argv[1] + handle(:error, data) else warning "Unknown message #{serverstring.inspect}" handle(:unknown, data) |