From: Pekka Riikonen Date: Tue, 4 Feb 2003 21:02:21 +0000 (+0000) Subject: Wrong type for invite/ban matching. X-Git-Tag: silc.client.0.9.12~15 X-Git-Url: http://git.silcnet.org/gitweb/?a=commitdiff_plain;h=f368b551fbf57599b213a07519678d089b3ef4c5;p=silc.git Wrong type for invite/ban matching. --- 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; }