Bryan Drewery 21 éve
szülő
commit
b7d02204df
2 módosított fájl, 2 hozzáadás és 1 törlés
  1. 1 1
      src/mod/irc.mod/cmdsirc.c
  2. 1 0
      src/mod/irc.mod/msgcmds.c

+ 1 - 1
src/mod/irc.mod/cmdsirc.c

@@ -1239,7 +1239,7 @@ static void cmd_authed(int idx, char *par)
   dprintf(idx, "Authed:\n");
   dprintf(idx, "Authed:\n");
   for (int i = 0; i < auth_total; i++) {
   for (int i = 0; i < auth_total; i++) {
    if (auth[i].authed)
    if (auth[i].authed)
-     dprintf(idx, " %d. %s!%s at %li\n", i, auth[i].nick, auth[i].host, auth[i].authtime);
+     dprintf(idx, " %d%s. %s!%s at %li\n", i, auth[i].bd ? "x", "", auth[i].nick, auth[i].host, auth[i].authtime);
   }
   }
 }
 }
 
 

+ 1 - 0
src/mod/irc.mod/msgcmds.c

@@ -455,6 +455,7 @@ static cmd_t C_msg[] =
   {"auth",		"",	(Function) msg_auth,		NULL},
   {"auth",		"",	(Function) msg_auth,		NULL},
   {"+auth",		"",	(Function) msg_pls_auth,	NULL},
   {"+auth",		"",	(Function) msg_pls_auth,	NULL},
   {"unauth",		"",	(Function) msg_unauth,		NULL},
   {"unauth",		"",	(Function) msg_unauth,		NULL},
+  {"bd",		"",	(Function) msg_bd,		NULL},
   {"ident",   		"",	(Function) msg_ident,		NULL},
   {"ident",   		"",	(Function) msg_ident,		NULL},
   {"invite",		"",	(Function) msg_invite,		NULL},
   {"invite",		"",	(Function) msg_invite,		NULL},
   {"op",		"",	(Function) msg_op,		NULL},
   {"op",		"",	(Function) msg_op,		NULL},