summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-21 20:54:37 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-21 20:54:37 +0000
commit28a1967177d055fbbd30b18864209721b8075ce1 (patch)
treec2e6cd0f6d9d68111003d39b120f975fe795f542 /include
parent35a644c0660b9ddb16c86e4d84d0d9809f3c0b31 (diff)
Hack, hack, hack, hack hack. Hack hack. Probably fix snotice loops, though.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9573 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/snomasks.h7
1 files changed, 7 insertions, 0 deletions
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