mirror of
https://github.com/anope/anope.git
synced 2026-07-01 06:16:38 +02:00
Ignore define{} blocks defining directives to itself
This commit is contained in:
+1
-1
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user