mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 13:43:19 +02:00
Client
- Both variants of `channelMessage(..., ...)` now use `sendMessage(Message)`
This commit is contained in:
parent
52dbd12a24
commit
2b25f4933a
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user