1
0
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:
Adam
2013-05-18 14:46:42 -04:00
parent 14dc142a92
commit a3dc75c61c
+1 -1
View File
@@ -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");
}