Selaa lähdekoodia

fix #866

tags/v2.1.0-rc1
Shivaram Lingamneni 4 vuotta sitten
vanhempi
commit
76d3ecca71
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      irc/handlers.go

+ 1
- 1
irc/handlers.go Näytä tiedosto

@@ -1602,7 +1602,7 @@ func umodeHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Res
1602 1602
 		}
1603 1603
 
1604 1604
 		// apply mode changes
1605
-		applied = ApplyUserModeChanges(client, changes, msg.Command == "SAMODE")
1605
+		applied = ApplyUserModeChanges(target, changes, msg.Command == "SAMODE")
1606 1606
 	}
1607 1607
 
1608 1608
 	if len(applied) > 0 {

Loading…
Peruuta
Tallenna