ruby-irc-yail icon indicating copy to clipboard operation
ruby-irc-yail copied to clipboard

Fix optional event elements' errors

Open Nerdmaster opened this issue 13 years ago • 0 comments

NoMethodError doesn't really make sense for optional elements, such as what was happening with event.from on prefix-free NOTICE messages. It's probably worth auditing the code to see where it makes sense to have a nil default rather than having exceptions get thrown. In 1.5.x this may be a much bigger problem as the events will be more directly exposed to the users.

Nerdmaster avatar Apr 21 '11 23:04 Nerdmaster