diff options
Diffstat (limited to 'src/modules/m_silence_ext.cpp')
-rw-r--r-- | src/modules/m_silence_ext.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_silence_ext.cpp b/src/modules/m_silence_ext.cpp index 9b93e56f4..ef7a46cd1 100644 --- a/src/modules/m_silence_ext.cpp +++ b/src/modules/m_silence_ext.cpp @@ -289,11 +289,11 @@ class ModuleSilence : public Module for (CUList::iterator i = ulist->begin(); i != ulist->end(); i++) { - if (IS_LOCAL(i->second)) + if (IS_LOCAL(i->first)) { - if (MatchPattern(i->second, sender, public_silence) == 1) + if (MatchPattern(i->first, sender, public_silence) == 1) { - exempt_list[i->second] = i->second; + exempt_list[i->first] = i->first->nick; } } } |