1
0
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:
stskeeps
2007-04-16 16:11:50 +00:00
parent 2e993427c6
commit ebab7885c8
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -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
View File
@@ -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))