From f368b551fbf57599b213a07519678d089b3ef4c5 Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Tue, 4 Feb 2003 21:02:21 +0000 Subject: [PATCH] Wrong type for invite/ban matching. --- apps/silcd/server_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/silcd/server_util.c b/apps/silcd/server_util.c index 0c9b2b12..839599d2 100644 --- a/apps/silcd/server_util.c +++ b/apps/silcd/server_util.c @@ -1754,7 +1754,7 @@ bool silc_server_inviteban_match(SilcServer server, SilcHashTable list, while (silc_hash_table_get(&htl, (void **)&t, (void **)&entry)) { if (type == t) { if (type == 1) { - if (silc_string_match((char *)entry, tmp)) { + if (silc_string_match(entry->data, tmp)) { ret = TRUE; break; } -- 2.43.0