X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsnomasks.cpp;h=e4c02057f5ad890331e4a3d3eb67b02a42780bde;hb=813bc55a8496875cef52e6da42d608e4d2fa35da;hp=f4dfdc1e117376b569f13a896ae56c33edf83f16;hpb=1fa86207eda4c5eee0547beb5cb2b94a16a05609;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/snomasks.cpp b/src/snomasks.cpp index f4dfdc1e1..e4c02057f 100644 --- a/src/snomasks.cpp +++ b/src/snomasks.cpp @@ -138,10 +138,10 @@ void Snomask::Flush() if (IS_LOCAL(a) && a->IsModeSet('s') && a->IsModeSet('n') && a->IsNoticeMaskSet(MySnomask) && !a->quitting) { - a->WriteServ("NOTICE %s :*** %s: %s", a->nick, this->Description.c_str(), this->LastMessage.c_str()); + a->WriteServ("NOTICE %s :*** %s: %s", a->nick.c_str(), this->Description.c_str(), this->LastMessage.c_str()); if (Count > 1) { - a->WriteServ("NOTICE %s :*** %s: (last message repeated %u times)", a->nick, this->Description.c_str(), Count); + a->WriteServ("NOTICE %s :*** %s: (last message repeated %u times)", a->nick.c_str(), this->Description.c_str(), Count); } } }