]> jfr.im git - irc/rizon/moo.git/commitdiff
Add url of commit at the end of a multi-line commit message.
authorOrillion <redacted>
Mon, 11 Jan 2016 21:24:40 +0000 (22:24 +0100)
committerOrillion <redacted>
Fri, 4 Mar 2016 21:22:37 +0000 (22:22 +0100)
commits/src/main/java/net/rizon/moo/plugin/commits/Server.java

index f7dcc7bb886cbf510c6cdd522fb0884a9456190e..7d18c2cbc3f7850306e5a7ac9565943249c8685f 100644 (file)
@@ -150,6 +150,7 @@ class Server extends Thread
                                                                        protocol.privmsgAll(conf.channels, "\2" + p.getProjectName() + "\2: \00303" + c.getAuthor() + "\003 \00307" + branch + "\003:");
                                                                        for (final String msg : c.getMessage())
                                                                                protocol.privmsgAll(conf.channels, msg);
+                                                                       protocol.privmsgAll(conf.channels, "\u001f" + c.getUrl() + "\u000f");
                                                                }
                                                                else if (c.getMessage().length == 1)
                                                                        protocol.privmsgAll(conf.channels, "\2" + p.getProjectName() + "\2: \00303" + c.getAuthor() + "\003 \00307" + branch + "\003: " + c.getMessage()[0] + " \u001f" + c.getUrl() + "\u000f");