mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-30 19:26:37 +02:00
- #0002842 reported by Zell, fixed by WolfSage regarding glitch in rehash
output glitch
This commit is contained in:
@@ -1576,3 +1576,5 @@ MOTDs
|
||||
- #0003272 reported and fixed by WolfSage (addmotd, addomotd in help.conf)
|
||||
- #0003274 reported by Stealth regarding using actual nick and not given
|
||||
nick in SAPART
|
||||
- #0002842 reported by Zell, fixed by WolfSage regarding glitch in rehash
|
||||
output glitch
|
||||
|
||||
+2
-2
@@ -588,7 +588,7 @@ CMD_FUNC(m_rehash)
|
||||
if (parv[1] && (parv[1][0] == '-'))
|
||||
x = HUNTED_ISME;
|
||||
else
|
||||
x = hunt_server_token(cptr, sptr, MSG_REHASH, TOK_REHASH, "%s", 1, parc, parv);
|
||||
x = hunt_server_token(cptr, sptr, MSG_REHASH, TOK_REHASH, "%s %s", 1, parc, parv);
|
||||
} else {
|
||||
x = hunt_server_token(cptr, sptr, MSG_REHASH, TOK_REHASH, "%s %s", 1, parc, parv);
|
||||
}
|
||||
@@ -622,7 +622,7 @@ CMD_FUNC(m_rehash)
|
||||
parv[1] = parv[2];
|
||||
}
|
||||
|
||||
if (!BadPtr(parv[1]) && strcmp(parv[1], "-all"))
|
||||
if (!BadPtr(parv[1]) && strcmp(parv[1], "-all") && stricmp(parv[1], me.name))
|
||||
{
|
||||
|
||||
if (!IsAdmin(sptr) && !IsCoAdmin(sptr))
|
||||
|
||||
Reference in New Issue
Block a user