diff --git a/irc/reply.go b/irc/reply.go index 477c939c..7099a819 100644 --- a/irc/reply.go +++ b/irc/reply.go @@ -218,7 +218,7 @@ func RplNamReply(channel *Channel, names []string) *NumericReply { } func RplEndOfNames(channel *Channel) Reply { - return NewNumericReply(channel, RPL_ENDOFNAMES, + return NewNumericReply(channel.server, RPL_ENDOFNAMES, "%s :End of NAMES list", channel.name) }