diff options
-rw-r--r-- | server/dispatch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/dispatch.c b/server/dispatch.c index c3f7cbc..5ae36c1 100644 --- a/server/dispatch.c +++ b/server/dispatch.c @@ -171,7 +171,7 @@ handle_packet() break; } if (whoisit.sin_port != hm_port && - strcmp(new_notice.z_class,ZEPHYR_ADMIN_CLASS) && + strcasecmp(new_notice.z_class,ZEPHYR_ADMIN_CLASS) && whoisit.sin_port != sock_sin.sin_port && new_notice.z_kind != CLIENTACK) { syslog(LOG_ERR, @@ -731,7 +731,7 @@ ZServerDesc_t *server; * CLIENT_CANCELSUB: "" */ - if (!strcmp(notice->z_class_inst, ZEPHYR_CTL_HM)) + if (!strcasecmp(notice->z_class_inst, ZEPHYR_CTL_HM)) return(hostm_dispatch(notice, auth, who, server)); else if (!strcmp(opcode, CLIENT_GIMMESUBS) || !strcmp(opcode, CLIENT_GIMMEDEFS)) { |