<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>



<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<h3>
Andrew Price pushed to branch master
at <a href="https://projects.sucs.org/milliways/mw">milliways / mw</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://projects.sucs.org/milliways/mw/commit/9b6dd8b5f57edf9b78767aeadb4939a9d8b3f366">9b6dd8b5</a></strong>
<div>
<span>by Andrew Price</span>
<i>at 2019-04-08T21:40:43Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Display the whole realname in the who list

Makes sure multibyte chars aren't truncated.
</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#c7d6734d2a9324d53f8d2399fa9fa164e55ca42a">
src/client/who.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="c7d6734d2a9324d53f8d2399fa9fa164e55ca42a">
<a href="https://projects.sucs.org/milliways/mw/commit/9b6dd8b5f57edf9b78767aeadb4939a9d8b3f366#c7d6734d2a9324d53f8d2399fa9fa164e55ca42a"><strong>src/client/who.c</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="107" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="107" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -107,7 +107,7 @@ void display_wholist(int mode)</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="107" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
107
</td>
<td class="diff-line-num new_line" data-linenumber="107" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
107
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC107" class="line" lang="c"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="108" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
108
</td>
<td class="diff-line-num new_line" data-linenumber="108" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
108
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC108" class="line" lang="c">                    <span class="k" style="font-weight: 600;">if</span> <span class="p">(</span><span class="n" style="color: #333;">json_getint</span><span class="p">(</span><span class="n" style="color: #333;">perms</span><span class="p">,</span> <span class="s" style="color: #d14;">"wizchat"</span><span class="p">)</span> <span class="o" style="font-weight: 600;">></span> <span class="mi" style="color: #099;">0</span><span class="p">)</span> <span class="n" style="color: #333;">chat</span><span class="o" style="font-weight: 600;">=</span><span class="sc" style="color: #d14;">'*'</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="109" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
109
</td>
<td class="diff-line-num new_line" data-linenumber="109" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
109
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC109" class="line" lang="c"></span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="110" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
110
</td>
<td class="diff-line-num new_line old" data-linenumber="110" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
 
</td>
<td class="line_content noteable_line old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC110" class="line" lang="c">                    <span class="n" style="color: #333;">format_message</span><span class="p">(</span><span class="s" style="color: #d14;">"%c%-*s %-<span class="idiff left right">20.2</span>0s %6s Room %d (%s,%s,%s)</span><span class="se" style="color: #d14;">\033</span><span class="s" style="color: #d14;">--"</span><span class="p">,</span><span class="n" style="color: #333;">chat</span><span class="p">,</span><span class="n" style="color: #333;">NAMESIZE</span><span class="p">,</span><span class="n" style="color: #333;">name</span><span class="p">,</span><span class="n" style="color: #333;">realname</span><span class="p">,</span><span class="n" style="color: #333;">itime</span><span class="p">(</span><span class="n" style="color: #333;">now</span><span class="o" style="font-weight: 600;">-</span><span class="n" style="color: #333;">idletime</span><span class="p">),</span><span class="n" style="color: #333;">channel</span><span class="p">,</span> <span class="n" style="color: #333;">chatmode</span><span class="p">,</span> <span class="n" style="color: #333;">prot</span><span class="p">,</span> <span class="n" style="color: #333;">chatprivs</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="111" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
 
</td>
<td class="diff-line-num new new_line" data-linenumber="110" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
110
</td>
<td class="line_content new noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC110" class="line" lang="c">                    <span class="n" style="color: #333;">format_message</span><span class="p">(</span><span class="s" style="color: #d14;">"%c%-*s %-<span class="idiff left right">30.3</span>0s %6s Room %d (%s,%s,%s)</span><span class="se" style="color: #d14;">\033</span><span class="s" style="color: #d14;">--"</span><span class="p">,</span><span class="n" style="color: #333;">chat</span><span class="p">,</span><span class="n" style="color: #333;">NAMESIZE</span><span class="p">,</span><span class="n" style="color: #333;">name</span><span class="p">,</span><span class="n" style="color: #333;">realname</span><span class="p">,</span><span class="n" style="color: #333;">itime</span><span class="p">(</span><span class="n" style="color: #333;">now</span><span class="o" style="font-weight: 600;">-</span><span class="n" style="color: #333;">idletime</span><span class="p">),</span><span class="n" style="color: #333;">channel</span><span class="p">,</span> <span class="n" style="color: #333;">chatmode</span><span class="p">,</span> <span class="n" style="color: #333;">prot</span><span class="p">,</span> <span class="n" style="color: #333;">chatprivs</span><span class="p">);</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="111" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
111
</td>
<td class="diff-line-num new_line" data-linenumber="111" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
111
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC111" class="line" lang="c">            <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="112" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
112
</td>
<td class="diff-line-num new_line" data-linenumber="112" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
112
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC112" class="line" lang="c">    <span class="p">}</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="113" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
113
</td>
<td class="diff-line-num new_line" data-linenumber="113" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
113
</td>
<td class="line_content noteable_line" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC113" class="line" lang="c">    <span class="n" style="color: #333;">format_message</span><span class="p">(</span><span class="s" style="color: #d14;">"%s"</span><span class="p">,</span> <span class="n" style="color: #333;">divider</span><span class="p">);</span></span>
</pre>
</td>
</tr>

</table>
<br>
</li>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">

<br>
<a href="https://projects.sucs.org/milliways/mw/commit/9b6dd8b5f57edf9b78767aeadb4939a9d8b3f366">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/milliways/mw/commit/9b6dd8b5f57edf9b78767aeadb4939a9d8b3f366"}}</script>
</p>
</div>
</body>
</html>