Wrong type for invite/ban matching.
authorPekka Riikonen <priikone@silcnet.org>
Tue, 4 Feb 2003 21:02:21 +0000 (21:02 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Tue, 4 Feb 2003 21:02:21 +0000 (21:02 +0000)
apps/silcd/server_util.c

index 0c9b2b1298d6b7d82f10fcd45aa9b2b36a684a7a..839599d2cfde0b1f166e504c4c4c5d3014319a6e 100644 (file)
@@ -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;
        }