Skip to content

Commit 5199168

Browse files
committed
Remove rehash command
1 parent 7c86cc7 commit 5199168

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

source/CCmds.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -750,19 +750,6 @@ void CCmds::CmdUnloadPlugin(const std::wstring& wscPlugin)
750750

751751
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
752752

753-
void CCmds::CmdRehash()
754-
{
755-
RIGHT_CHECK(RIGHT_SETTINGS);
756-
757-
LoadSettings();
758-
CallPluginsAfter(HookedCall::FLHook__LoadSettings);
759-
760-
HookRehashed();
761-
Print("OK");
762-
}
763-
764-
///////////////////////////////////////////////////////////////////////////////////////////////////////////////
765-
766753
/** Chase a player. Only works in system as you'd need a client hook to do across system */
767754
void CCmds::CmdChase(std::wstring adminName, const std::variant<uint, std::wstring>& player)
768755
{
@@ -1245,10 +1232,6 @@ void CCmds::ExecuteCommandString(const std::wstring& wscCmdStr)
12451232
{
12461233
CmdListPlugins();
12471234
}
1248-
else if (wscCmd == L"rehash")
1249-
{
1250-
CmdRehash();
1251-
}
12521235
else if (wscCmd == L"help")
12531236
{
12541237
CmdHelp();

0 commit comments

Comments
 (0)