diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-08-30 16:31:49 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-08-30 16:31:49 +0200 |
commit | 1def7fd7f486d3d2d2999c4ee74392405db9ca7d (patch) | |
tree | 21291fd5244938526b36929910d2a901fdba346d /src/modules/m_deaf.cpp | |
parent | 0fda94db3054ad74668dec1e56d4aa4a029ef133 (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/modules/m_deaf.cpp')
-rw-r--r-- | src/modules/m_deaf.cpp | 3 |
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); } |