summaryrefslogtreecommitdiff
path: root/src/config.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-18 14:46:42 -0400
committerAdam <Adam@anope.org>2013-05-18 14:46:42 -0400
commita3dc75c61ca690eee66aea77522103952dddc8e5 (patch)
tree988d9f0b235de23e0f659fb9dcca3814da11cc71 /src/config.cpp
parent14dc142a9260f6f7f42864df0db18f266466af61 (diff)
Ignore define{} blocks defining directives to itself
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 1adcd624a..f96027453 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -830,7 +830,7 @@ void Conf::LoadConf(File &file)
const Anope::string &dname = define->Get<const Anope::string>("name");
- if (dname == wordbuffer)
+ if (dname == wordbuffer && define != b)
wordbuffer = define->Get<const Anope::string>("value");
}