drop unused typedefs
--HG-- branch : nmdc-ircfrontend
This commit is contained in:
parent
6358ebe50a
commit
d56203cd39
26
typedefs.go
26
typedefs.go
@ -20,32 +20,6 @@ var (
|
||||
channelRegexp = regexp.MustCompile(`^#[a-zA-Z0-9_\-]+$`)
|
||||
)
|
||||
|
||||
type ClientMode struct {
|
||||
operator bool //Channel operator
|
||||
}
|
||||
|
||||
func (m *ClientMode) Prefix() string {
|
||||
if m.operator {
|
||||
return "@"
|
||||
} else {
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
||||
func (m *ClientMode) String() string {
|
||||
if m.operator {
|
||||
return "o"
|
||||
} else {
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
||||
type signalCode int
|
||||
|
||||
const (
|
||||
signalStop signalCode = iota
|
||||
)
|
||||
|
||||
type replyCode int
|
||||
|
||||
const (
|
||||
|
Loading…
Reference in New Issue
Block a user