summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-09 23:33:02 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-09 23:33:02 +0000
commitf362a30e8016478c1cb787e9ea6bc83441d9c8d1 (patch)
tree7eedee9453f6587b8db0d37090cd02afa403412e
parenteb83f4b7a77c7825a5d2f7bc3f86f2fc6fa6db4f (diff)
Flush snotices instantly on send (disable queueing) - in it's present form, it appears it annoys OCD opers. Will be reintroduced to be less irritating in future.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11193 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/snomasks.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/snomasks.cpp b/src/snomasks.cpp
index c166bd72d..13eb326bf 100644
--- a/src/snomasks.cpp
+++ b/src/snomasks.cpp
@@ -70,6 +70,8 @@ void SnomaskManager::WriteToSnoMask(char letter, const std::string &text)
if (n != SnoMasks.end())
{
n->second->SendMessage(text);
+ // XXX: Always try flush here. This removes snomask stacking effectively, as it's too annoying in it's present form. This may be reworked for RC3, or delayed until post-release.
+ n->second->Flush();
}
}