copy m before calling force_encoding to avoid `RuntimeError - can't modify frozen String' when Nick is set to ENV['USER'], which is frozen.
Merge pull request #5 from shugo/master

RuntimeError occurs when Nick is set to ENV['USER']