X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_check.cpp;h=07276445f220e1c29132aecf8131221486b59738;hb=fd57589b17c7eb5d29346651dd354b790454c68e;hp=994745422d34e256d4bde948a688d3cc91d518a5;hpb=c8b41aa5d256d99eee67ec94492a94dc30e0ea35;p=user%2Fhenk%2Fcode%2Finspircd.git 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);