diff options
Diffstat (limited to 'src/modules/m_deaf.cpp')
-rw-r--r-- | src/modules/m_deaf.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_deaf.cpp b/src/modules/m_deaf.cpp index 69fde96f1..2278479cc 100644 --- a/src/modules/m_deaf.cpp +++ b/src/modules/m_deaf.cpp @@ -95,11 +95,11 @@ class ModuleDeaf : public Module for (CUList::iterator i = ulist->begin(); i != ulist->end(); i++) { - if (IS_LOCAL(i->second)) + if (IS_LOCAL(i->first)) { - if (i->second->IsModeSet('d')) + if (i->first->IsModeSet('d')) { - exempt_list[i->second] = i->second; + exempt_list[i->first] = i->first->nick; } } } |