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 == "+" {
|
if str == "+" {
|
||||||
str = "No modes set"
|
str = "No modes set"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return str
|
return str
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue