mirror of https://github.com/fluffle/goirc
Move 'no modes' check outside of `IsValid()`. Issue #98
This commit is contained in:
parent
a3cd605787
commit
41ccd6a8f6
|
@ -196,9 +196,9 @@ func (nm *NickMode) String() string {
|
|||
}
|
||||
}
|
||||
}
|
||||
if str == "+" {
|
||||
str = "No modes set"
|
||||
}
|
||||
}
|
||||
if str == "+" {
|
||||
str = "No modes set"
|
||||
}
|
||||
return str
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue