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:
@@ -43,10 +43,10 @@ class ENone : public Module
|
||||
|
||||
EventReturn OnCheckAuthentication(Command *c, CommandSource *source, const std::vector<Anope::string> ¶ms, 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)
|
||||
|
||||
Reference in New Issue
Block a user