diff options
author | Adam <Adam@anope.org> | 2013-05-18 14:46:42 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-05-18 14:46:42 -0400 |
commit | a3dc75c61ca690eee66aea77522103952dddc8e5 (patch) | |
tree | 988d9f0b235de23e0f659fb9dcca3814da11cc71 /src/config.cpp | |
parent | 14dc142a9260f6f7f42864df0db18f266466af61 (diff) |
Ignore define{} blocks defining directives to itself
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 2 |
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"); } |