소스 검색

Show 'Do!' in 'chaninfo' for 'Voice-moderate' to be consistent

Bryan Drewery 13 년 전
부모
커밋
234cc358fe
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/mod/channels.mod/cmdschan.c

+ 1 - 0
doc/UPDATES

@@ -2,6 +2,7 @@ maint
   * Prevent crashing on startup if openssl can not be loaded
   * Rename option -c to -m for 'manual' edit, and redirect -c to -C
   * Show a nicer compile error when BUILDTS unable to be determined / gmake is not used.
+  * Show 'Do!' in 'chaninfo' for 'Voice-moderate' to be consistent with other flags.
 
 1.4.1 - http://wraith.botpack.net/milestone/1.4.1
   * Update server list, 'set -yes servers -' and 'set -yes servers6 -' to get new list.

+ 1 - 1
src/mod/channels.mod/cmdschan.c

@@ -1257,7 +1257,7 @@ static void cmd_chaninfo(int idx, char *par)
     SHOW_INT("Revenge: ", chan->revenge, DEFLAG_STR, "Ignore");
     SHOW_INT("Protect-backup: ", chan->protect_backup, "Do!", "Don't!");
     SHOW_INT("Voice-non-ident: ", chan->voice_non_ident, "Do!", "Don't!");
-    SHOW_INT("Voice-moderate:", chan->voice_moderate, NULL, "Don't!");
+    SHOW_INT("Voice-moderate:", chan->voice_moderate, "Do!", "Don't!");
 
     dprintf(idx, "Flood settings:   chan bytes ctcp join kick deop nick mjoin mpub mbytes mctcp\n");
     dprintf(idx, "  number:          %3d  %4d  %3d  %3d  %3d  %3d  %3d   %3d  %3d   %4d   %3d\n",