mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-19 10:59:44 -07:00
Display umode; delete a bunch of data structures for features that won't be implemented.
This commit is contained in:
+6
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user