mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
Display umode; delete a bunch of data structures for features that won't be implemented.
This commit is contained in:
parent
5acc36409a
commit
c99bc6b453
3 changed files with 14 additions and 24 deletions
|
|
@ -77,10 +77,14 @@ func (c *Client) Nick() string {
|
|||
}
|
||||
|
||||
func (c *Client) UModeString() string {
|
||||
mode := "+"
|
||||
if c.invisible {
|
||||
return "+i"
|
||||
mode += "i"
|
||||
}
|
||||
return ""
|
||||
if c.wallOps {
|
||||
mode += "w"
|
||||
}
|
||||
return mode
|
||||
}
|
||||
|
||||
func (c *Client) HasNick() bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue