Skip to content

Commit

Permalink
Added help reply
Browse files Browse the repository at this point in the history
  • Loading branch information
Inspircd Devel Server committed Jan 23, 2024
1 parent 5d01c19 commit ed771d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/commands/ns_drop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ class CommandNSDrop : public Command
"is dropped you may lose all of your access and channels that\n"
"you may own. Any other user will be able to gain control of\n"
"this nick."));
if (Config->GetModule("ns_drop")->Get<bool>("deny_dropping_display"))
source.Reply(_("You must drop all aliases in the group\n"
before you can drop your display nick."));
if (!source.HasPriv("nickserv/drop"))
source.Reply(_("You may drop any nick within your group."));
else
Expand Down

0 comments on commit ed771d7

Please sign in to comment.