mirror of
https://github.com/anope/anope.git
synced 2026-07-04 15:53:13 +02:00
Reworked live SQL support yet again
This commit is contained in:
@@ -18,7 +18,6 @@ class CommandNSAccess : public Command
|
||||
private:
|
||||
void DoAdd(CommandSource &source, NickCore *nc, const Anope::string &mask)
|
||||
{
|
||||
|
||||
if (mask.empty())
|
||||
{
|
||||
this->OnSyntaxError(source, "ADD");
|
||||
@@ -110,7 +109,7 @@ class CommandNSAccess : public Command
|
||||
NickCore *nc;
|
||||
if (!nick.empty())
|
||||
{
|
||||
NickAlias *na = findnick(nick);
|
||||
const NickAlias *na = findnick(nick);
|
||||
if (na == NULL)
|
||||
{
|
||||
source.Reply(NICK_X_NOT_REGISTERED, nick.c_str());
|
||||
|
||||
Reference in New Issue
Block a user