From 50acad5ce451b44b469890fe46ce14c7ffd031ca Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 10 Dec 2014 02:09:51 -0500 Subject: Unconst these config Get calls as it makes no sense --- modules/commands/cs_set_misc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/commands/cs_set_misc.cpp') diff --git a/modules/commands/cs_set_misc.cpp b/modules/commands/cs_set_misc.cpp index 48716b194..51cf44b79 100644 --- a/modules/commands/cs_set_misc.cpp +++ b/modules/commands/cs_set_misc.cpp @@ -189,11 +189,11 @@ class CSSetMisc : public Module { Configuration::Block *block = conf->GetBlock("command", i); - if (block->Get("command") != "chanserv/set/misc") + if (block->Get("command") != "chanserv/set/misc") continue; - Anope::string cname = block->Get("name"); - Anope::string desc = block->Get("misc_description"); + Anope::string cname = block->Get("name"); + Anope::string desc = block->Get("misc_description"); if (cname.empty() || desc.empty()) continue; -- cgit