<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>Justin Mitchell pushed to branch master at <a href="https://projects.sucs.org/arthur/mw">Justin Mitchell / mw</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://projects.sucs.org/arthur/mw/commit/2edf74646e486da257a28eceb561dd0e5d8c6163">2edf7464</a></strong>
<div>
<span>by Justin Mitchell</span>
<i>at 2016-01-13T16:52:21Z</i>
</div>
<pre class='commit-message'>Give a name to the plain gag and stop it being an error. fixes #10</pre>
</li>
</ul>
<h4>2 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
src/gags.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
src/server/actions.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/arthur/mw/commit/2edf74646e486da257a28eceb561dd0e5d8c6163#diff-0'>
<strong>
src/gags.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/gags.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/gags.c
</span><span style="color: #aaaaaa">@@ -47,7 +47,7 @@ char *apply_bork(char *text, const gag_pattern_t *list, int caps);
</span>  ****/
 
 GagInfo gaglist[]={
<span style="color: #000000;background-color: #ffdddd">-{"","Gag", "Ungag",
</span><span style="color: #000000;background-color: #ddffdd">+{"gag","Gag", "Ungag",
</span>    "You have just been gagged!",
    "You have been ungagged. You can now talk normally",
    gag_normal},
</code></pre>

<br>
</li>
<li id='diff-1'>
<a href='https://projects.sucs.org/arthur/mw/commit/2edf74646e486da257a28eceb561dd0e5d8c6163#diff-1'>
<strong>
src/server/actions.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/server/actions.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/server/actions.c
</span><span style="color: #aaaaaa">@@ -165,8 +165,8 @@ void accept_action(ipc_connection_t *conn, ipc_message_t *msg)
</span>           const char *gagtype = json_getstring(j, "gag");
 
                if (gagtype == NULL) {
<span style="color: #000000;background-color: #ffdddd">-                        send_error(conn, msg, "Missing gag type");
-                       return;
</span><span style="color: #000000;background-color: #ddffdd">+                   /* the original, and best */
+                       gagtype = "gag";
</span>           }
 
                int gtnum = gag_code(gagtype);
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://projects.sucs.org/arthur/mw/commit/2edf74646e486da257a28eceb561dd0e5d8c6163">View it on GitLab</a>.
<br>
You're receiving this email because of your account on projects.sucs.org.
If you'd like to receive fewer emails, you can adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://projects.sucs.org/arthur/mw/commit/2edf74646e486da257a28eceb561dd0e5d8c6163"}}</script>
</p>
</div>
</body>
</html>