summaryrefslogtreecommitdiff
path: root/src/snomasks.cpp
diff options
context:
space:
mode:
authorRobin Burchell <viroteck@viroteck.net>2012-04-15 02:02:47 -0700
committerRobin Burchell <viroteck@viroteck.net>2012-04-15 02:02:47 -0700
commit9852b8b68b4a1ca8096dc3402da89930b91c36e4 (patch)
tree0ef95a6626ecce59d7c2dd2dbbb409c0bc370b37 /src/snomasks.cpp
parented1cdbef159f2e6a33eff966946fccfc08c37568 (diff)
parentc376d800ebe6057f2afd7ffcd065b64e0cdb3292 (diff)
Merge pull request #59 from Robby-/insp20-nosnoticestack
[2.0] Backported Shawn's NoSnoticeStack code from insp21
Diffstat (limited to 'src/snomasks.cpp')
-rw-r--r--src/snomasks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snomasks.cpp b/src/snomasks.cpp
index f8e1fc158..e0849147b 100644
--- a/src/snomasks.cpp
+++ b/src/snomasks.cpp
@@ -83,7 +83,7 @@ SnomaskManager::SnomaskManager()
void Snomask::SendMessage(const std::string &message, char mysnomask)
{
- if (message != LastMessage || mysnomask != LastLetter)
+ if (ServerInstance->Config->NoSnoticeStack || message != LastMessage || mysnomask != LastLetter)
{
this->Flush();
LastMessage = message;