m_grant: match "deoper" case-insensitively

This commit is contained in:
Ed Kellett 2019-09-15 00:16:00 +01:00
parent ebd0f4db7a
commit b143f5e3bd
No known key found for this signature in database
GPG key ID: CB9986DEF342FABC

View file

@ -92,7 +92,7 @@ static int do_grant(struct Client *source_p, struct Client *target_p, const char
int dooper = 0, dodeoper = 0;
struct PrivilegeSet *privset = 0;
if (!strcmp(new_privset, "deoper"))
if (!strcasecmp(new_privset, "deoper"))
{
if (!IsOper(target_p))
{