mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 15:22:53 +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 */
|
/* Send to multiple channels */
|
||||||
sendMessage("PRIVMSG "~channelLine~" "~message);
|
Message privMessage = new Message("", "PRIVMSG", channelLine~" "~message);
|
||||||
|
sendMessage(privMessage);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -415,7 +416,8 @@ public class Client : Thread
|
|||||||
if(channel[0] == '#')
|
if(channel[0] == '#')
|
||||||
{
|
{
|
||||||
/* Send the channel message */
|
/* Send the channel message */
|
||||||
sendMessage("PRIVMSG "~channel~" "~message);
|
Message privMessage = new Message("", "PRIVMSG", channel~" "~message);
|
||||||
|
sendMessage(privMessage);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user