summaryrefslogtreecommitdiff
path: root/src/config.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-07 00:24:37 -0400
committerAdam <Adam@anope.org>2013-05-07 00:24:37 -0400
commit6859decfb8ed0430e946ff81eca4f9da879f69c9 (patch)
tree91313f0aeff3676ad3f88dc5aa37b9caa3352f9b /src/config.cpp
parente23baf4297c662e2e6585b29e2bbed0183e68642 (diff)
Fix setting some default flags, reading fantasy blocks, and minusers setting being off by 1
Diffstat (limited to 'src/config.cpp')
-rw-r--r--src/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.cpp b/src/config.cpp
index 46ad48d43..b3eca95ff 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -452,7 +452,7 @@ Conf::Conf() : Block("")
ValidateNotEmpty("fantasy", "name", nname);
ValidateNotEmpty("fantasy", "command", service);
- CommandInfo &c = this->Fantasy[name];
+ CommandInfo &c = this->Fantasy[nname];
c.name = service;
c.permission = permission;
c.group = group;