1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 12:16:38 +02:00

Cleanup some excess whitespaces and tabs, and fix a few typos along the way.

This commit is contained in:
Robby
2017-01-17 05:03:25 +01:00
parent 464093d36e
commit 76ce8ece1a
204 changed files with 442 additions and 550 deletions
+3 -4
View File
@@ -360,16 +360,16 @@ bool IRCDProto::IsNickValid(const Anope::string &nick)
if (nick.empty())
return false;
Anope::string special = "[]\\`_^{|}";
for (unsigned i = 0; i < nick.length(); ++i)
if (!(nick[i] >= 'A' && nick[i] <= 'Z') && !(nick[i] >= 'a' && nick[i] <= 'z')
&& special.find(nick[i]) == Anope::string::npos
&& (Config && Config->NickChars.find(nick[i]) == Anope::string::npos)
&& (!i || (!(nick[i] >= '0' && nick[i] <= '9') && nick[i] != '-')))
return false;
return true;
}
@@ -502,4 +502,3 @@ unsigned IRCDMessage::GetParamCount() const
{
return this->param_count;
}