From 6d110b87bf70c2b51669bf9c10e8c60abf685ab0 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Mon, 19 Jan 2015 12:44:39 -0500 Subject: [PATCH] Note channel log flag in @chan/list --- src/extchat.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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' : '-', -- 2.30.2