summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/ignore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ignore.c b/src/core/ignore.c
index 94ee4a52..0cee82cd 100644
--- a/src/core/ignore.c
+++ b/src/core/ignore.c
@@ -174,7 +174,7 @@ int ignore_check(SERVER_REC *server, const char *nick, const char *host,
nickmask = g_strconcat(nick, "!", host, NULL);
- best_mask = best_patt = 0; best_match = FALSE;
+ best_mask = best_patt = -1; best_match = FALSE;
for (tmp = ignores; tmp != NULL; tmp = tmp->next) {
rec = tmp->data;