summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2016-08-30 16:31:49 +0200
committerAttila Molnar <attilamolnar@hush.com>2016-08-30 16:31:49 +0200
commit1def7fd7f486d3d2d2999c4ee74392405db9ca7d (patch)
tree21291fd5244938526b36929910d2a901fdba346d /src
parent0fda94db3054ad74668dec1e56d4aa4a029ef133 (diff)
m_deaf Remove pointless member prefix check
Inserting members who lack the required status into the except list makes no difference, they won't get the message either way
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_deaf.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/m_deaf.cpp b/src/modules/m_deaf.cpp
index 9e84bb95a..88919e91b 100644
--- a/src/modules/m_deaf.cpp
+++ b/src/modules/m_deaf.cpp
@@ -94,9 +94,6 @@ class ModuleDeaf : public Module
if (is_bypasschar && !is_a_uline)
continue; /* deliver message */
- if (status && !strchr(i->second->GetAllPrefixChars(), status))
- continue;
-
/* don't deliver message! */
exempt_list.insert(i->first);
}