summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;