1
0
Fork 0
forked from External/ergo

fix invite message to clients

This commit is contained in:
Jeremy Latt 2014-03-05 22:54:50 -08:00
parent d6688a3047
commit 04bb79a610
4 changed files with 6 additions and 8 deletions

View file

@ -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 {