From 76d3ecca7105f54cf2d15ff9a2f233a8098184c1 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Tue, 17 Mar 2020 13:00:53 -0400 Subject: [PATCH] fix #866 --- irc/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/handlers.go b/irc/handlers.go index 1c4178a7..2b37dfcd 100644 --- a/irc/handlers.go +++ b/irc/handlers.go @@ -1602,7 +1602,7 @@ func umodeHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Res } // apply mode changes - applied = ApplyUserModeChanges(client, changes, msg.Command == "SAMODE") + applied = ApplyUserModeChanges(target, changes, msg.Command == "SAMODE") } if len(applied) > 0 {