<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>
Imran Hussain 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/a0896b3b3d66555da3cb98c90d6e7c2ab3cdb824">a0896b3b</a></strong>
<div>
<span>by Imran Hussain</span>
<i>at 2016-02-27T18:12:54+00:00</i>
</div>
<pre class='commit-message'>Attempt to remove pid from wholist</pre>
</li>
<li>
<strong><a href="https://projects.sucs.org/arthur/mw/commit/aa185482267f401203c9fba994bbba2ec7c257d7">aa185482</a></strong>
<div>
<span>by Imran Hussain</span>
<i>at 2016-02-27T18:32:04+00:00</i>
</div>
<pre class='commit-message'>Make formatting  nicer</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
src/client/who.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/arthur/mw/compare/faf39683c0eae53cfc7434829069373218fa85ab...aa185482267f401203c9fba994bbba2ec7c257d7#diff-0'>
<strong>
src/client/who.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/client/who.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/client/who.c
</span><span style="color: #aaaaaa">@@ -78,7 +78,7 @@ void display_wholist(int mode)
</span>   if (mode == 1)
                format_message("\nUser status...");
        else
<span style="color: #000000;background-color: #ffdddd">-                format_message("\nPID    %-*s %-*s  Idle  What...",NAMESIZE,"Name",20,"RealName");
</span><span style="color: #000000;background-color: #ddffdd">+           format_message("\n %-*s %-*s  Idle  What...",NAMESIZE,"Name",20,"RealName");
</span> 
        _autofree char *divider = NULL;
        for (int i = 0; i < screen_w(); i++) string_add(&divider, "-");
<span style="color: #aaaaaa">@@ -87,7 +87,6 @@ void display_wholist(int mode)
</span>   size_t wi;
        json_t *entry;
        json_array_foreach(whoinfo, wi, entry) {
<span style="color: #000000;background-color: #ffdddd">-                int pid = json_getint(entry, "pid");
</span>           const char *name = json_getstring(entry, "name");
                const char *realname = json_getstring(entry, "realname");
                time_t dowhen = json_getint(entry, "dowhen");
<span style="color: #aaaaaa">@@ -108,7 +107,7 @@ void display_wholist(int mode)
</span> 
                        if (json_getint(perms, "wizchat") > 0) chat='*';
 
<span style="color: #000000;background-color: #ffdddd">-                        format_message("%-5d %c%-*s %-20.20s %6s Room %d (%s,%s,%s)\033--",pid,chat,NAMESIZE,name,realname,itime(now-idletime),channel, chatmode, prot, chatprivs);
</span><span style="color: #000000;background-color: #ddffdd">+                   format_message("%c%-*s %-20.20s %6s Room %d (%s,%s,%s)\033--",chat,NAMESIZE,name,realname,itime(now-idletime),channel, chatmode, prot, chatprivs);
</span>           }
        }
        format_message("%s", divider);
</code></pre>

<br>
</li>

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

<br>
<a href="https://projects.sucs.org/arthur/mw/compare/faf39683c0eae53cfc7434829069373218fa85ab...aa185482267f401203c9fba994bbba2ec7c257d7">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.

</p>
</div>
</body>
</html>