X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fsnomasks.h;h=d4bd8a22c9e1ef8d95ab0b369f6eda12b37e56af;hb=b7904e23726dfa497d276e193827c2e8685443eb;hp=5bd4742c18200c1f46987085601152940209cbc3;hpb=57542f8488ce9f3250915d6c2aa03c243e34b7b3;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/snomasks.h b/include/snomasks.h index 5bd4742c1..d4bd8a22c 100644 --- a/include/snomasks.h +++ b/include/snomasks.h @@ -91,6 +91,13 @@ class CoreExport SnomaskManager : public Extensible */ bool DisableSnomask(char letter); + /** Set the local only message state of a given snomask. + * This is used by remote stuff to prevent endless recursion in sending + * XXX this is currently a really shit way to do it, as it effectively + * bypasses snomask compression! + */ + bool SetLocalOnly(char letter, bool local); + /** Write to all users with a given snomask. * @param letter The snomask letter to write to * @param text The text to send to the users