From cbb06a27e9d06eadf3acf4c31be2b277ce0bc0be Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sat, 24 Nov 2012 03:05:47 +0100 Subject: m_check, m_namesx, m_timedbans Minor cleanup --- src/modules/m_check.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/modules/m_check.cpp') diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 994745422..07276445f 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -42,7 +42,7 @@ class CommandCheck : public Command return std::string(timebuf); } - void dumpExt(User* user, std::string checkstr, Extensible* ext) + void dumpExt(User* user, const std::string& checkstr, Extensible* ext) { std::stringstream dumpkeys; for(Extensible::ExtensibleStore::const_iterator i = ext->GetExtList().begin(); i != ext->GetExtList().end(); i++) @@ -199,7 +199,6 @@ class CommandCheck : public Command } irc::modestacker modestack(true); - std::string letter_b("b"); for(BanList::iterator b = targchan->bans.begin(); b != targchan->bans.end(); ++b) { modestack.Push('b', b->data); -- cgit v1.2.3