<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/151cdc3151221fbfb0992044a1e66746896025a1">151cdc31</a></strong>
<div>
<span>by Justin Mitchell</span>
<i>at 2016-01-12T15:27:11Z</i>
</div>
<pre class='commit-message'>Replace the tell command with sayto, which works outside talker anyway,
this removes the anachronistic single-user wiz command and fixes #8</pre>
</li>
</ul>
<h4>2 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
src/client/command.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
src/client/newmain.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/arthur/mw/commit/151cdc3151221fbfb0992044a1e66746896025a1#diff-0'>
<strong>
src/client/command.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/client/command.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/client/command.c
</span><span style="color: #aaaaaa">@@ -67,7 +67,7 @@ CommandList table[]={
</span> {"status", 0x000, 0, "Usage: status", "Display user status", c_status, 1},
{"su", 0x004, 1, "Usage: su <on | off>", "Toggle superuser powers", c_su, 1},
{"talker", 0x020, 0, "Usage: talker", "Enter chat mode", c_chatmode, 1},
<span style="color: #000000;background-color: #ffdddd">-{"tell", 0x020, 2, "Usage: tell <user> <message>", "Send message to user", c_tell, 1},
</span><span style="color: #000000;background-color: #ddffdd">+{"tell", 0x020, 2, "Usage: tell <user> <message>", "Send message to user", t_sayto, 1},
</span> {"tidyup", 0x001, 2, "Usage: tidyup <foldername> <mesg no>", "Remove messages from a folder upto message number", c_tidyup, 1},
{"timeout", 0x040, 1, "Usage: timeout <time>", "Set your idle time logout", c_timeout, 1},
{"timestamp", 0x000, 1, "Usage: timestamp <on | off>", "Print timestamps on messages", c_timestamp, 1},
</code></pre>
<br>
</li>
<li id='diff-1'>
<a href='https://projects.sucs.org/arthur/mw/commit/151cdc3151221fbfb0992044a1e66746896025a1#diff-1'>
<strong>
src/client/newmain.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/src/client/newmain.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/src/client/newmain.c
</span><span style="color: #aaaaaa">@@ -481,21 +481,6 @@ void c_who(CommandList *cm, int argc, const char **argv, char *args)
</span> display_wholist(0);
}
<span style="color: #000000;background-color: #ffdddd">-void c_tell(CommandList *cm, int argc, const char **argv, char *args)
-{
- if (s_coventry(user))
- printf(_("You have been sent to 'coventry' you are not allowed to talk to anyone..\n"));
- else
- {
- char text[MAXTEXTLENGTH];
-
- update_user(user);
- text[0]=0;
- strncat(text, args, MAXTEXTLENGTH - strlen(text) - 1);
- send_mesg(user->record.name, argv[1], text, u_god(user));
- }
-}
-
</span> void c_wiz(CommandList *cm, int argc, const char **argv, char *args)
{
char text[MAXTEXTLENGTH];
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://projects.sucs.org/arthur/mw/commit/151cdc3151221fbfb0992044a1e66746896025a1">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/151cdc3151221fbfb0992044a1e66746896025a1"}}</script>
</p>
</div>
</body>
</html>