Yaribz / SpringIrcBridge

SpringRTS IRC lobby protocol bridge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

always requires a : in PRIVMSG?

TurBoss opened this issue · comments

Hi I'm deplying the lounge a web client for the irc

the version 1.5.0 works well but the master branch of the lounge does not send all messages to the server
they toldme tha could be the irc bridge that allways require ":" in PRIVMSG???????

i'm not sure about this just asking here

thx

here is the issue I opened in thelounge
thelounge/thelounge#383

They are right, it's a bug in the bridge, I will fix that.

PRIVMSG always has exactly 2 parameters and the second parameter (message text) often contains spaces, so most IRC clients choose the simplest way to encode these commands which is to always prefix the second parameter with : (to allow spaces in message text). This way it works in all cases, and the IRC clients don't have to check if the message contains spaces. That's why this bug hasn't been detected yet.

thank you
let me know when its fixed to deploy the newest client