forked from External/ergo
fix ModeString
This commit is contained in:
parent
1787ac8ebf
commit
6367e4b654
4 changed files with 15 additions and 4 deletions
|
|
@ -104,11 +104,15 @@ func (client *Client) InterestedClients() ClientSet {
|
|||
return clients
|
||||
}
|
||||
|
||||
func (c *Client) UModeString() string {
|
||||
// <mode>
|
||||
func (c *Client) ModeString() (str string) {
|
||||
if c.invisible {
|
||||
return "i"
|
||||
str += Invisible.String()
|
||||
}
|
||||
return ""
|
||||
if len(str) > 0 {
|
||||
str = "+" + str
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func (c *Client) UserHost() string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue