mirror of
https://github.com/fluffle/goirc
synced 2025-05-19 14:03:20 +00:00
Move 'no modes' check outside of IsValid()
. Issue #98
This commit is contained in:
parent
a3cd605787
commit
41ccd6a8f6
1 changed files with 3 additions and 3 deletions
|
@ -196,9 +196,9 @@ func (nm *NickMode) String() string {
|
|||
}
|
||||
}
|
||||
}
|
||||
if str == "+" {
|
||||
str = "No modes set"
|
||||
}
|
||||
}
|
||||
if str == "+" {
|
||||
str = "No modes set"
|
||||
}
|
||||
return str
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue