Browse Source

Merge branch 'ducch-whois-bad-align' into maint

* ducch-whois-bad-align:
  * Align FLAGS at the format level, not the header level
  * Properly align the output of .whois <user>
Bryan Drewery 14 năm trước cách đây
mục cha
commit
bb58d5f6ba
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/users.c

+ 1 - 1
src/users.c

@@ -397,7 +397,7 @@ tell_user(int idx, struct userrec *u)
       strftime(s1, 6, "%H:%M", gmtime(&li->laston));
   }
   if (!u->bot) {
-    simple_snprintf(format, sizeof format, "%%-%us %%-5s %%-15s %%s (%%-10.10s)\n", HANDLEN);
+    simple_snprintf(format, sizeof format, "%%-%us %%-4s %%-15s %%s (%%-10.10s)\n", HANDLEN);
     dprintf(idx, format, u->handle, get_user(&USERENTRY_PASS, u) ? "yes" : "no", s, s1, (li && li->lastonplace) ? li->lastonplace : "nowhere");
   } else {	/* BOT */
     simple_snprintf(format, sizeof format, "%%-%us %%-8s %%s (%%-10.10s)\n", HANDLEN);