summaryrefslogtreecommitdiff
path: root/modules/ns_maxemail.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ns_maxemail.cpp')
-rw-r--r--modules/ns_maxemail.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ns_maxemail.cpp b/modules/ns_maxemail.cpp
index a3016311a..aba6ab3ed 100644
--- a/modules/ns_maxemail.cpp
+++ b/modules/ns_maxemail.cpp
@@ -1,7 +1,7 @@
/* ns_maxemail.cpp - Limit the amount of times an email address
* can be used for a NickServ account.
*
- * (C) 2003-2016 Anope Team
+ * (C) 2003-2017 Anope Team
* Contact us at team@anope.org
*
* Included in the Anope module pack since Anope 1.7.9
@@ -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;
}