mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
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
This commit is contained in:
parent
0fda94db30
commit
1def7fd7f4
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user