From 5b3f81ea78f7a8ab69ff94cbf2bbf07f5966682e Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 5 May 2013 21:05:43 -0400 Subject: That doesn't work either, just don't use references. find ./ -name '*.cpp' -exec sed -i 's/Get/Get/g' {} \; --- 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 325b652cd..9402f5b78 100644 --- a/modules/commands/cs_set_misc.cpp +++ b/modules/commands/cs_set_misc.cpp @@ -150,11 +150,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