commit e92f19f7661bef1da0d7dfd781a05646c3957c2c
parent f88acabad277472e61633904709cf52c3b5005ae
Author: Emile 'iMil' Heitor <imil@NetBSD.org>
Date: Fri, 14 Jul 2023 19:02:46 +0200
feat: say who is the xposter
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/main.go b/main.go
@@ -323,7 +323,7 @@ func main() {
}
for _, xchan := range viper.GetStringSlice("irc.xchannels") {
if news := getNewsByHash(s); news.Hash != "" {
- post := fmt.Sprintf(" {r}(from %s)", channel)
+ post := fmt.Sprintf(" {r}(from %s on %s)", e.Source.Name, channel)
c.Cmd.Message(xchan, girc.Fmt(fmtNews(news)+post))
}
}