1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 05:43:52 +02:00
- Fixed bug within `channelMessage(string,string[])` which would leave the channel provided instead of sending the message provided to the the channel provided as it called `leaveChannel(channel[0])` instead of `channelMessage(string, string)`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-08 20:17:40 +02:00
parent 8812e247cb
commit 6f0a9e32ca

View File

@ -494,7 +494,7 @@ public class Client : Thread
if(channels.length == 1) if(channels.length == 1)
{ {
/* Send to a single channel */ /* Send to a single channel */
leaveChannel(channels[0]); channelMessage(message, channels[0]);
} }
/* If multiple channels */ /* If multiple channels */
else if(channels.length > 1) else if(channels.length > 1)