From 3075cc7bd0aa6db5752e76183c267d091584705f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 3 Nov 2020 22:30:58 +0000 Subject: Move config typedefs to ServerConfig and use auto in more places. --- src/modules/m_helpop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_helpop.cpp') diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index c91534f7a..dff2803ea 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -115,7 +115,7 @@ class ModuleHelpop size_t longestkey = 0; HelpMap newhelp; - ConfigTagList tags = ServerInstance->Config->ConfTags("helpop"); + auto tags = ServerInstance->Config->ConfTags("helpop"); if (tags.empty()) throw ModuleException("You have loaded the helpop module but not configured any help topics!"); -- cgit v1.3.1-10-gc9f91