From a9f1283dd6ffcbd745ddd0eddfe4863138394819 Mon Sep 17 00:00:00 2001 From: "." <.@.> Date: Tue, 3 May 2016 18:02:10 +1200 Subject: [PATCH] remove support for voiced users --HG-- branch : nmdc-ircfrontend --- typedefs.go | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) 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