X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fu_listmode.h;h=a41f30e68e7356cfad423d77480e38a0077edf7f;hb=40320969da824c4150134fa5177c02694c6b49bd;hp=145957c776ee80f00e2e87e5fe6cb37c41ca19ad;hpb=c8a96f0756278b90eb342b9c697add7292a853b0;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/u_listmode.h b/include/u_listmode.h index 145957c77..a41f30e68 100644 --- a/include/u_listmode.h +++ b/include/u_listmode.h @@ -56,7 +56,7 @@ protected: Server* Srv; ConfigReader* Conf; public: - ListModeBaseModule(Server* serv, char modechar, std::string eolstr, std::string lnum, std::string eolnum) : Module::Module(serv) + ListModeBaseModule(Server* serv, char modechar, const std::string &eolstr, const std::string &lnum, const std::string &eolnum) : Module::Module(serv) { Srv = serv; Conf = new ConfigReader; @@ -70,7 +70,7 @@ public: Srv->AddExtendedListMode(modechar); } - virtual void OnRehash(std::string param) + virtual void OnRehash(const std::string ¶m) { delete Conf; Conf = new ConfigReader;