]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_check.cpp
Handle SASL failures during SASL_INIT (wrong mechanism, etc.)
[user/henk/code/inspircd.git] / src / modules / m_check.cpp
index 994745422d34e256d4bde948a688d3cc91d518a5..07276445f220e1c29132aecf8131221486b59738 100644 (file)
@@ -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);