Move 'no modes' check outside of `IsValid()`. Issue #98

This commit is contained in:
Dale Campbell 2017-03-23 02:10:14 +00:00
parent a3cd605787
commit 41ccd6a8f6
1 changed files with 3 additions and 3 deletions

View File

@ -196,9 +196,9 @@ func (nm *NickMode) String() string {
} }
} }
} }
}
if str == "+" { if str == "+" {
str = "No modes set" str = "No modes set"
} }
}
return str return str
} }