reorganizing

This commit is contained in:
joonicks
2018-04-04 06:04:58 +02:00
parent a5187a7a8f
commit c5b03f35e1
66 changed files with 1670 additions and 2742 deletions

View File

@@ -111,13 +111,13 @@ void do_info(COMMAND_ARGS)
for(chan=current->chanlist;chan;chan=chan->next)
{
*(p = text) = 0;
p = Strcat(p,chan->name);
p = stringcat(p,chan->name);
if (chan == current->activechan)
p = Strcat(p," (current)");
p = stringcat(p," (current)");
if ((stats = chan->stats))
{
if (stats && stats->flags == CSTAT_PARTIAL)
p = Strcat(p," (partial)");
p = stringcat(p," (partial)");
while(p < text+35)
*(p++) = ' ';
if (stats->LHuserseconds > 0)
@@ -135,7 +135,7 @@ void do_info(COMMAND_ARGS)
}
else
{
Strcpy(p," (no current data)");
stringcpy(p," (no current data)");
}
to_user(from,FMT_PLAIN,text);
}