mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
fix invite message to clients
This commit is contained in:
parent
d6688a3047
commit
04bb79a610
4 changed files with 6 additions and 8 deletions
|
|
@ -128,8 +128,8 @@ func RplError(message string) string {
|
|||
return NewStringReply(nil, ERROR, ":%s", message)
|
||||
}
|
||||
|
||||
func RplInviteMsg(inviter *Client, channel string) string {
|
||||
return NewStringReply(inviter, INVITE, channel)
|
||||
func RplInviteMsg(inviter *Client, invitee *Client, channel string) string {
|
||||
return NewStringReply(inviter, INVITE, "%s :%s", invitee.Nick(), channel)
|
||||
}
|
||||
|
||||
func RplKick(channel *Channel, client *Client, target *Client, comment string) string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue