diff options
author | Adam <Adam@anope.org> | 2016-10-06 14:59:22 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2016-10-06 14:59:22 -0400 |
commit | 1b67b97e93f138245bde795fb769206e9f9f0965 (patch) | |
tree | 104184333c51cb93d82ed3a0f2fa74c7cd893cdb /modules/ns_maxemail.cpp | |
parent | d4bf0957d1868fae2d48e9349e91daca5c7c9bd9 (diff) |
ns_maxemail: equals_ci for comparing emails
Diffstat (limited to 'modules/ns_maxemail.cpp')
-rw-r--r-- | modules/ns_maxemail.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ns_maxemail.cpp b/modules/ns_maxemail.cpp index a3016311a..eb05717a9 100644 --- a/modules/ns_maxemail.cpp +++ b/modules/ns_maxemail.cpp @@ -68,7 +68,7 @@ class NSMaxEmail : public Module Anope::string cleannc = clean ? CleanMail(nc->email) : nc->email; - if (unc != nc && cleanemail == cleannc) + if (unc != nc && cleanemail.equals_ci(cleannc)) ++count; } |