From a60bcec69f9ffe243b4b52c4bb428f82be5104dd Mon Sep 17 00:00:00 2001 From: nohar Date: Mon, 19 Feb 2007 22:49:54 +0000 Subject: [PATCH] Allow case insensitive TRUST command. --- src/irc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/irc.c b/src/irc.c index fce8c64..f40f32d 100644 --- a/src/irc.c +++ b/src/irc.c @@ -1027,8 +1027,8 @@ static int irc_dispatch_trust_client(struct link_client *ic, struct line *line) if (line->elemc < 2) return ERR_PROTOCOL; - if (strcmp(line->elemv[0], "BIP") == 0 && - strcmp(line->elemv[1], "TRUST") == 0) + if (strcasecmp(line->elemv[0], "BIP") == 0 && + strcasecmp(line->elemv[1], "TRUST") == 0) r = adm_trust(ic, line); return r;