summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-masks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/irc-masks.c')
-rw-r--r--src/irc/core/irc-masks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/irc-masks.c b/src/irc/core/irc-masks.c
index 345b1b77..824a3b84 100644
--- a/src/irc/core/irc-masks.c
+++ b/src/irc/core/irc-masks.c
@@ -41,7 +41,7 @@ static char *get_domain_mask(char *host)
if (is_ipv4_address(host)) {
/* it's an IP address, change last digit to * */
ptr = strrchr(host, '.');
- if (ptr != NULL && isdigit(ptr[1]))
+ if (ptr != NULL && i_isdigit(ptr[1]))
strcpy(ptr+1, "*");
} else {
/* if more than one dot, skip the first