X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fngircd%2Firc.c;h=efc34d4b2e087f8e3742c1d44ea6a820e2073f92;hb=298cd9a327dca9717ff352d78f964dd49ca5f9f4;hp=5af79396ee0add0ef82f5dd8a7905ccdce912636;hpb=c1656256df687c4a093ceb502de84bf4b0447f3c;p=ngircd-alex.git diff --git a/src/ngircd/irc.c b/src/ngircd/irc.c index 5af79396..efc34d4b 100644 --- a/src/ngircd/irc.c +++ b/src/ngircd/irc.c @@ -327,12 +327,18 @@ IRC_HELP( CLIENT *Client, REQUEST *Req ) static char * -Option_String( CONN_ID Idx ) +#ifdef ZLIB +Option_String(CONN_ID Idx) +#else +Option_String(UNUSED CONN_ID Idx) +#endif { static char option_txt[8]; +#ifdef ZLIB UINT16 options; options = Conn_Options(Idx); +#endif strcpy(option_txt, "F"); /* No idea what this means, but the * original ircd sends it ... */ @@ -440,8 +446,8 @@ Send_Message(CLIENT * Client, REQUEST * Req, int ForceType, bool SendErrors) Client_Type(cl) != CLIENT_SERVICE) continue; if (nick != NULL && host != NULL) { - if (strcmp(nick, Client_ID(cl)) == 0 && - strcmp(user, Client_User(cl)) == 0 && + if (strcasecmp(nick, Client_ID(cl)) == 0 && + strcasecmp(user, Client_User(cl)) == 0 && strcasecmp(host, Client_HostnameCloaked(cl)) == 0) break; else