From a3dc75c61ca690eee66aea77522103952dddc8e5 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 18 May 2013 14:46:42 -0400 Subject: [PATCH] Ignore define{} blocks defining directives to itself --- src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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("name"); - if (dname == wordbuffer) + if (dname == wordbuffer && define != b) wordbuffer = define->Get("value"); }