mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-22 02:52:00 -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
|
|
@ -1,31 +1,17 @@
|
|||
package irc
|
||||
|
||||
type Channel struct {
|
||||
server *Server
|
||||
name string
|
||||
key string
|
||||
topic string
|
||||
members ClientSet
|
||||
operators ClientSet
|
||||
creators ClientSet
|
||||
voiced ClientSet
|
||||
invites map[string]bool
|
||||
server *Server
|
||||
name string
|
||||
key string
|
||||
topic string
|
||||
members ClientSet
|
||||
invites map[string]bool
|
||||
// modes
|
||||
anonymous bool
|
||||
inviteOnly bool
|
||||
moderated bool
|
||||
noOutside bool
|
||||
quiet bool
|
||||
private bool
|
||||
secret bool
|
||||
serverReop bool
|
||||
operTopic bool
|
||||
// modes with args
|
||||
password string
|
||||
userLimit int
|
||||
banMask string
|
||||
banExceptMask string
|
||||
inviteMask string
|
||||
password string
|
||||
}
|
||||
|
||||
type ChannelSet map[*Channel]bool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue