projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eecdeb0
)
Wrong type for invite/ban matching.
author
Pekka Riikonen
<priikone@silcnet.org>
Tue, 4 Feb 2003 21:02:21 +0000
(21:02 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Tue, 4 Feb 2003 21:02:21 +0000
(21:02 +0000)
apps/silcd/server_util.c
patch
|
blob
|
history
diff --git
a/apps/silcd/server_util.c
b/apps/silcd/server_util.c
index 0c9b2b1298d6b7d82f10fcd45aa9b2b36a684a7a..839599d2cfde0b1f166e504c4c4c5d3014319a6e 100644
(file)
--- 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;
}