forked from External/ergo
irc operators
This commit is contained in:
parent
6367e4b654
commit
8a90634c0a
5 changed files with 72 additions and 17 deletions
|
|
@ -15,6 +15,7 @@ type Client struct {
|
|||
hostname string
|
||||
invisible bool
|
||||
nick string
|
||||
operator bool
|
||||
realname string
|
||||
registered bool
|
||||
replies chan<- Reply
|
||||
|
|
@ -109,6 +110,10 @@ func (c *Client) ModeString() (str string) {
|
|||
if c.invisible {
|
||||
str += Invisible.String()
|
||||
}
|
||||
if c.operator {
|
||||
str += Operator.String()
|
||||
}
|
||||
|
||||
if len(str) > 0 {
|
||||
str = "+" + str
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue