diff options
author | Wim <wim@42.be> | 2019-02-16 17:24:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-16 17:24:04 +0100 |
commit | 312369586925e0419271df7466e9b40756738f89 (patch) | |
tree | 247b181b64cd589afa3ab865058f47d26db662ea /bridge/irc/irc.go | |
parent | 777af73e2bafc0b2c6e1d1eaa554106efec36a70 (diff) | |
download | matterbridge-msglm-312369586925e0419271df7466e9b40756738f89.tar.gz matterbridge-msglm-312369586925e0419271df7466e9b40756738f89.tar.bz2 matterbridge-msglm-312369586925e0419271df7466e9b40756738f89.zip |
Upgrade to latest girc version (irc) (#718)
Diffstat (limited to 'bridge/irc/irc.go')
-rw-r--r-- | bridge/irc/irc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index 4e3d3ed4..4b7203c4 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -295,7 +295,7 @@ func (b *Birc) storeNames(client *girc.Client, event girc.Event) { channel := event.Params[2] b.names[channel] = append( b.names[channel], - strings.Split(strings.TrimSpace(event.Trailing), " ")...) + strings.Split(strings.TrimSpace(event.Last()), " ")...) } func (b *Birc) formatnicks(nicks []string) string { |