]> jfr.im git - solanum.git/blobdiff - extensions/hurt.c
Use const hook data where possible
[solanum.git] / extensions / hurt.c
index 086557219af55789cb6fc307b7c470b5336f6d71..9f6ee7adc57b70c4e9a5c3dc12ca3f3565cc3891 100644 (file)
@@ -576,7 +576,7 @@ hurt_find_exact(const char *ip)
        {
                hurt = (hurt_t *) ptr->data;
 
-               if (!strcasecmp(ip, hurt->ip))
+               if (!rb_strcasecmp(ip, hurt->ip))
                        return hurt;
        }