mirror of
https://github.com/anope/anope.git
synced 2026-06-26 23:16:39 +02:00
Fixed bug #1294, Crash on NS SET HIDE
This commit is contained in:
@@ -25,7 +25,7 @@ class CommandNSSetHide : public Command
|
||||
void Run(CommandSource &source, const Anope::string &user, const Anope::string ¶m, const Anope::string &arg)
|
||||
{
|
||||
NickAlias *na = findnick(user);
|
||||
if (user == NULL)
|
||||
if (!na)
|
||||
{
|
||||
source.Reply(NICK_X_NOT_REGISTERED, user.c_str());
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user