X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_blockamsg.cpp;h=1b5fee40bfac3b1f8c6ee81fdc66585eedba65db;hb=bcac49dca78631687975771c6d0a76b595171664;hp=ba0d2f73b433edcd58bea22837b9c46f54b5e848;hpb=7f9c6c5118261eac40d9bae22ac2c0ede670512d;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp index ba0d2f73b..1b5fee40b 100644 --- a/src/modules/m_blockamsg.cpp +++ b/src/modules/m_blockamsg.cpp @@ -39,8 +39,8 @@ public: std::string message; irc::string target; time_t sent; - - BlockedMessage(std::string msg, irc::string tgt, time_t when) : message(msg), target(tgt), sent(when) + + BlockedMessage(const std::string &msg, const irc::string &tgt, time_t when) : message(msg), target(tgt), sent(when) { } };