1
0
Fork 0
forked from External/ergo

irc operators

This commit is contained in:
Jeremy Latt 2014-02-09 10:07:40 -08:00
parent 6367e4b654
commit 8a90634c0a
5 changed files with 72 additions and 17 deletions

View file

@ -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
}