mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 18:52:41 +01:00
client: Fix initial RPL_UMODEIS
This commit is contained in:
parent
220bc2c609
commit
c2aa31001a
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user