mirror of
https://github.com/fluffle/goirc
synced 2025-05-14 19:43: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 == "+" {
|
if str == "+" {
|
||||||
str = "No modes set"
|
str = "No modes set"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return str
|
return str
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue