client: Fix initial RPL_UMODEIS

This commit is contained in:
Daniel Oaks 2016-09-07 21:50:42 +10:00
parent 220bc2c609
commit c2aa31001a
1 changed files with 2 additions and 3 deletions

View File

@ -234,13 +234,12 @@ func (client *Client) HasUsername() bool {
// <mode>
func (c *Client) ModeString() (str string) {
str = "+"
for flag := range c.flags {
str += flag.String()
}
if len(str) > 0 {
str = "+" + str
}
return
}