mirror of
https://github.com/anope/anope.git
synced 2026-07-01 08:56:37 +02:00
Fixed saset noexpire to set noexpire on the nick it is used on not just the display name
This commit is contained in:
@@ -22,9 +22,10 @@ class CommandNSSetHide : public Command
|
||||
|
||||
CommandReturn Execute(User *u, const std::vector<Anope::string> ¶ms)
|
||||
{
|
||||
NickCore *nc = findcore(params[0]);
|
||||
if (!nc)
|
||||
throw CoreException("NULL nc in CommandNSSetHide");
|
||||
NickAlias *na = findnick(params[0]);
|
||||
if (!na)
|
||||
throw CoreException("NULL na in CommandNSSetHide");
|
||||
NickCore *nc = na->nc;
|
||||
|
||||
LanguageString onmsg, offmsg;
|
||||
NickCoreFlag flag;
|
||||
|
||||
Reference in New Issue
Block a user