ruby-rbot / rbot

The Ruby IRC Bot.
https://ruby-rbot.github.io/
Other
63 stars 19 forks source link

Better response to "Unknown MODE flag" response #94

Open henk84 opened 3 months ago

henk84 commented 3 months ago
WARN -- rfc2812.rb:1393:in `process': Unknown message ":irc-02.netwichtig.ch 501 marvin :Unknown MODE flag"

rbot should handle this message IMHO with a better log entry showing what command lead to this response, giving some indication what mode is not supported. Depending on what mode rbot tries to set and why, it might be a good idea to do something else, e.g. abandon the current operation if setting a mode that is required for it could not be set.