projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updates.
[silc.git]
/
apps
/
silcd
/
packet_receive.c
diff --git
a/apps/silcd/packet_receive.c
b/apps/silcd/packet_receive.c
index 6e8bf99a12214381012f6cc0691be6926568ebf7..e93774ae51d931c0766f9961a19986e9844fd9d1 100644
(file)
--- a/
apps/silcd/packet_receive.c
+++ b/
apps/silcd/packet_receive.c
@@
-1143,7
+1143,7
@@
do { \
if (tmp && channel->ban_list) {
char *start, *end, *n;
- if (!str
cmp(channel->ban_list, tmp
)) {
+ if (!str
ncmp(channel->ban_list, tmp, strlen(channel->ban_list) - 1
)) {
silc_free(channel->ban_list);
channel->ban_list = NULL;
} else {