diff --git a/include/config.h b/include/config.h index d172da457..c71625ac9 100644 --- a/include/config.h +++ b/include/config.h @@ -45,14 +45,7 @@ namespace Configuration const Block* GetBlock(const Anope::string &name, int num = 0) const; Block* GetMutableBlock(const Anope::string &name, int num = 0); - template inline T Get(const Anope::string &tag) const - { - return this->Get(tag, ""); - } - /* VS 2008 has an issue with having a default argument here (def = ""), which is why the above - * function exists. - */ - template T Get(const Anope::string &tag, const Anope::string &def) const + template T Get(const Anope::string &tag, const Anope::string &def = "") const { const Anope::string &value = this->Get(tag, def); if (!value.empty())