Closed mseymour closed 11 years ago
Not a compatibility issue. Ignoring that we don't support 1.8 anyway, it gets parsed "wrong" across all Ruby versions, namely as as method call (-
) on :strict with whatever rfc1459 returns. Of course that doesn't make any sense, so yes, we need quoting here.
On line 29 of /lib/cinch/rubyext/string.rb, the symbol (
:strict-rfc1459
) should be quoted to increase compatibility with older (<~1.8.*) Ruby releases.Newer releases appear to allow dashes in the syntax, however in 1.8 quotes are required to escape them.