diff options
author | Adam <Adam@anope.org> | 2014-11-08 04:30:27 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-11-08 04:30:27 -0500 |
commit | 64b332730ee8bfaf981dfea6654a7d95eb27da30 (patch) | |
tree | b80884b1119e9c10513155ed8ca05f61e641bec9 /modules/commands/os_dns.cpp | |
parent | 36837330aec3ba4b60ec3306c2b2c924996eac16 (diff) |
Fix not removing zones from server->zones
Diffstat (limited to 'modules/commands/os_dns.cpp')
-rw-r--r-- | modules/commands/os_dns.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/commands/os_dns.cpp b/modules/commands/os_dns.cpp index b8077b7e9..4affc53bd 100644 --- a/modules/commands/os_dns.cpp +++ b/modules/commands/os_dns.cpp @@ -455,6 +455,7 @@ class CommandOSDNS : public Command } z->servers.erase(s->GetName()); + s->zones.erase(z->name); source.Reply(_("Removed server %s from zone %s."), s->GetName().c_str(), z->name.c_str()); return; } |