From 5ec94fdb4356df1be68a107f0ac142d44530b334 Mon Sep 17 00:00:00 2001 From: Fredrik de Vibe Date: Fri, 18 Mar 2016 06:09:29 -0400 Subject: Add config option to prefix messages (IRC->MM) with nick If username overriding isn't enabled on the Mattermost server, this is required for Mattermost users to see who sent a message from IRC. --- config.go | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'config.go') diff --git a/config.go b/config.go index d1038880..d0bf8044 100644 --- a/config.go +++ b/config.go @@ -8,14 +8,15 @@ import ( type Config struct { IRC struct { - UseTLS bool - SkipTLSVerify bool - Server string - Port int - Nick string - Password string - Channel string - UseSlackCircumfix bool + UseTLS bool + SkipTLSVerify bool + Server string + Port int + Nick string + Password string + Channel string + UseSlackCircumfix bool + PrefixMessagesWithNick bool } Mattermost struct { URL string -- cgit v1.2.3