summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-02-15 18:19:38 -0500
committerAdam <Adam@anope.org>2013-02-15 18:32:06 -0500
commit73099b82e8619a87f894a0f787a582ee973bd177 (patch)
tree4097684d99ff62d953dc4fe4130030cf66a6405f
parentfc1d7ea89b5beed96022499fe7fa86bef7cf2aad (diff)
Fixed unserializing servers in dns zones
-rw-r--r--modules/commands/os_dns.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_dns.cpp b/modules/commands/os_dns.cpp
index 52a6995fc..d690ae55a 100644
--- a/modules/commands/os_dns.cpp
+++ b/modules/commands/os_dns.cpp
@@ -62,7 +62,7 @@ struct DNSZone : Serializable
for (unsigned count = 0; true; ++count)
{
Anope::string server_str;
- data["server" + stringify(count++)] >> server_str;
+ data["server" + stringify(count)] >> server_str;
if (server_str.empty())
break;
zone->servers.insert(server_str);