summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-21 22:16:44 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-21 22:16:44 +0000
commit8d05e8510ff9446a28c49e12179277d785c6d402 (patch)
tree4e65ac87aa01aaf636c662cc12adb139d76b9baa
parent1707cf3dd3d442e71a418511b89533752fb8416b (diff)
Allow NS GHOST from an unregistered sender, reported by Raff7.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2122 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--src/core/ns_ghost.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ns_ghost.c b/src/core/ns_ghost.c
index 44678bbd4..ffca53cb4 100644
--- a/src/core/ns_ghost.c
+++ b/src/core/ns_ghost.c
@@ -22,6 +22,7 @@ class CommandNSGhost : public Command
public:
CommandNSGhost() : Command("GHOST", 1, 2)
{
+ this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
}
CommandReturn Execute(User *u, std::vector<std::string> &params)