From 3ca6c4d3bc454fa3efe04540331128318a39deaf Mon Sep 17 00:00:00 2001 From: stskeeps Date: Tue, 24 Apr 2007 11:47:55 +0000 Subject: [PATCH] - Patch by WolfSage to make /rehash -all case insensitive. --- Changes | 1 + src/s_serv.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index 4a11e12d2..f807d577c 100644 --- a/Changes +++ b/Changes @@ -1618,3 +1618,4 @@ MOTDs - #0003223 reported by JasonTik patched by WolfSage, regarding undocumented max link pass length. This now -WARNS- when there is a password bigger than PASSWDLEN. +- Patch by WolfSage to make /rehash -all case insensitive. diff --git a/src/s_serv.c b/src/s_serv.c index 0790b6375..92115b9f5 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -622,7 +622,7 @@ CMD_FUNC(m_rehash) parv[1] = parv[2]; } - if (!BadPtr(parv[1]) && strcmp(parv[1], "-all") && stricmp(parv[1], me.name)) + if (!BadPtr(parv[1]) && stricmp(parv[1], "-all") && stricmp(parv[1], me.name)) { if (!IsAdmin(sptr) && !IsCoAdmin(sptr))