summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/commands/os_forbid.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/commands/os_forbid.cpp b/modules/commands/os_forbid.cpp
index d4b4c2b41..e982c3305 100644
--- a/modules/commands/os_forbid.cpp
+++ b/modules/commands/os_forbid.cpp
@@ -144,6 +144,7 @@ class CommandOSForbid : public Command
{
Log(LOG_ADMIN, source.u, this) << "to remove forbid " << d->mask << " of type " << subcommand;
source.Reply(_("%s deleted from the %s forbid list."), d->mask.c_str(), subcommand.c_str());
+ this->fs->RemoveForbid(d);
}
else
source.Reply(_("Forbid on %s was not found."), entry.c_str());