mirror of
https://github.com/anope/anope.git
synced 2026-07-07 20:23:13 +02:00
Make functions that don't use this static.
This commit is contained in:
@@ -18,7 +18,7 @@ class NSMaxEmail final
|
||||
bool clean = false;
|
||||
|
||||
/* strip dots from username, and remove anything after the first + */
|
||||
Anope::string CleanMail(const Anope::string &email)
|
||||
static Anope::string CleanMail(const Anope::string &email)
|
||||
{
|
||||
size_t host = email.find('@');
|
||||
if (host == Anope::string::npos)
|
||||
|
||||
Reference in New Issue
Block a user