1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 13:43:19 +02:00
- Both variants of `channelMessage(..., ...)` now use `sendMessage(Message)`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-15 08:39:38 +02:00
parent 52dbd12a24
commit 2b25f4933a

View File

@ -380,7 +380,8 @@ public class Client : Thread
}
/* Send to multiple channels */
sendMessage("PRIVMSG "~channelLine~" "~message);
Message privMessage = new Message("", "PRIVMSG", channelLine~" "~message);
sendMessage(privMessage);
}
else
{
@ -415,7 +416,8 @@ public class Client : Thread
if(channel[0] == '#')
{
/* Send the channel message */
sendMessage("PRIVMSG "~channel~" "~message);
Message privMessage = new Message("", "PRIVMSG", channel~" "~message);
sendMessage(privMessage);
}
else
{