We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7461ca8 commit 4fe4374Copy full SHA for 4fe4374
host.go
@@ -669,9 +669,9 @@ func (h *Host) InitCommands(c *chat.Commands) {
669
670
oldID := member.ID()
671
newID := sanitize.Name(args[1])
672
- if newID == oldID {
+ if newID == oldID && !symbolSet {
673
return errors.New("new name is the same as the original")
674
- } else if newID == "" && symbolSet {
+ } else if (newID == "" || newID == oldID) && symbolSet {
675
if member.User.OnChange != nil {
676
member.User.OnChange()
677
}
0 commit comments