diff --git a/typedefs.go b/typedefs.go index 415bae6..4ce83c0 100644 --- a/typedefs.go +++ b/typedefs.go @@ -53,28 +53,22 @@ type Channel struct { type ClientMode struct { operator bool //Channel operator - voice bool //Has voice } func (m *ClientMode) Prefix() string { if m.operator { return "@" - } else if m.voice { - return "+" } else { return "" } } func (m *ClientMode) String() string { - modeStr := "" if m.operator { - modeStr += "o" + return "o" + } else { + return "" } - if m.voice { - modeStr += "v" - } - return modeStr } type signalCode int