1
0
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:
lethality
2011-07-29 22:50:45 +01:00
parent f5e78d7c88
commit f29c88bcd5
+1 -1
View File
@@ -25,7 +25,7 @@ class CommandNSSetHide : public Command
void Run(CommandSource &source, const Anope::string &user, const Anope::string &param, const Anope::string &arg)
{
NickAlias *na = findnick(user);
if (user == NULL)
if (!na)
{
source.Reply(NICK_X_NOT_REGISTERED, user.c_str());
return;