Yaribz / SpringIrcBridge

SpringRTS IRC lobby protocol bridge
GNU General Public License v3.0
3 stars 1 forks source link

always requires a : in PRIVMSG? #3

Closed TurBoss closed 8 years ago

TurBoss commented 8 years ago

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 https://github.com/thelounge/lounge/issues/383

Yaribz commented 8 years ago

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.

TurBoss commented 8 years ago

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