From da84223217e942f747b44727fc37903c8a2ebd11 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Wed, 23 Mar 2022 07:15:40 +0100 Subject: [PATCH] Make LIST option Txx always available, IOTW remove the need for defining LIST_USE_T which was never done anywhere. Reported by progval in https://github.com/unrealircd/unrealircd/pull/193 --- src/modules/list.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/modules/list.c b/src/modules/list.c index 4d575c51a..ce5fcf64c 100644 --- a/src/modules/list.c +++ b/src/modules/list.c @@ -225,7 +225,6 @@ CMD_FUNC(cmd_list) error = 1; } break; -#ifdef LIST_USE_T case 'T': case 't': ++name; @@ -240,12 +239,10 @@ CMD_FUNC(cmd_list) doall = 1; break; default: - sendnumeric(client, ERR_LISTSYNTAX, - "Bad list syntax, type /list ?"); + sendnumeric(client, ERR_LISTSYNTAX); error = 1; } break; -#endif default: /* A channel, possibly with wildcards. * Thought for the future: Consider turning wildcard * processing on the fly.