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

Reworked live SQL support yet again

This commit is contained in:
Adam
2012-04-23 05:08:26 -04:00
parent 63c639e108
commit 573e49a7ea
172 changed files with 2517 additions and 2217 deletions
+2 -2
View File
@@ -43,10 +43,10 @@ class ENone : public Module
EventReturn OnCheckAuthentication(Command *c, CommandSource *source, const std::vector<Anope::string> &params, const Anope::string &account, const Anope::string &password) anope_override
{
NickAlias *na = findnick(account);
NickCore *nc = na ? na->nc : NULL;
const NickAlias *na = findnick(account);
if (na == NULL)
return EVENT_CONTINUE;
NickCore *nc = na->nc;
size_t pos = nc->pass.find(':');
if (pos == Anope::string::npos)