From: Ari Johnson Date: Mon, 19 Jan 2015 17:44:39 +0000 (-0500) Subject: Note channel log flag in @chan/list X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=6d110b87bf70c2b51669bf9c10e8c60abf685ab0;p=cobramush.git Note channel log flag in @chan/list --- diff --git a/src/extchat.c b/src/extchat.c index edec670..069a29a 100644 --- a/src/extchat.c +++ b/src/extchat.c @@ -2203,7 +2203,7 @@ do_channel_list(dbref player, const char *partname) if (SUPPORT_PUEBLO) notify_noenter(player, tprintf("%cSAMP%c", TAG_START, TAG_END)); - notify_format(player, "%-30s %-5s %8s %-16s %-8s %-3s", + notify_format(player, "%-30s %-5s %8s %-18s %-8s %-3s", "Name", "Users", "Msgs", T("Chan Type"), "Status", "Buf"); for (c = channels; c; c = c->next) { strcpy(cleanname, remove_markup(ChanName(c), NULL)); @@ -2236,7 +2236,7 @@ do_channel_list(dbref player, const char *partname) blanks[0] = '\0'; } notify_format(player, - "%-30s%s %s %8ld [%c%c%c%c%c%c%c%c %c%c%c%c%c%c] [%-3s %c%c] %3d", + "%-30s%s %s %8ld [%c%c%c%c%c%c%c%c%c %c%c%c%c%c%c] [%-3s %c%c] %3d", ChanName(c), blanks, numusers, ChanNumMsgs(c), Channel_Disabled(c) ? 'D' : '-', Channel_Player(c) ? 'P' : '-', @@ -2245,6 +2245,7 @@ do_channel_list(dbref player, const char *partname) Channel_Quiet(c) ? 'Q' : '-', Channel_CanHide(c) ? 'H' : '-', Channel_Open(c) ? 'o' : '-', (ChanType(c) & CHANNEL_COBJ) ? 'Z' : '-', + Channel_Log(c) ? 'L' : '-', /* Locks */ ChanJoinLock(c) != TRUE_BOOLEXP ? 'j' : '-', ChanSpeakLock(c) != TRUE_BOOLEXP ? 's' : '-',