While implementing an IRC server for ircanywhere I noticed that smiley faces where being butchered. This happens because the code on toString() was only prepending the : when there is a space in the param. One of the colons in a message such as PRIVMSG #smiley-test ::) ended up being dropped, causing clients to render just a sad ).
While implementing an IRC server for ircanywhere I noticed that smiley faces where being butchered. This happens because the code on
toString()
was only prepending the:
when there is a space in the param. One of the colons in a message such asPRIVMSG #smiley-test ::)
ended up being dropped, causing clients to render just a sad)
.