From 657e1deb590eaba38ea3e9a9fb353dc0e23c1a41 Mon Sep 17 00:00:00 2001 From: Adam- Date: Thu, 31 Dec 2009 01:25:10 +0000 Subject: Added in new plaintext databases. Note: This currently has no automatic backup feature. Big thanks to Phil on this for mass scale testing git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2722 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/ns_forbid.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/core/ns_forbid.c') diff --git a/src/core/ns_forbid.c b/src/core/ns_forbid.c index f45dadceb..c58dda380 100644 --- a/src/core/ns_forbid.c +++ b/src/core/ns_forbid.c @@ -50,7 +50,9 @@ class CommandNSForbid : public Command } delete na; } - na = new NickAlias(nick, new NickCore(nick)); + NickCore *nc = new NickCore(nick); + nc->SetFlag(NI_FORBIDDEN); + na = new NickAlias(nick, nc); if (na) { na->SetFlag(NS_FORBIDDEN); -- cgit