summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-07 01:45:43 -0400
committerAdam <Adam@anope.org>2012-10-07 01:45:43 -0400
commitebb3fca69860136da6e77be12f11b156a7a685b5 (patch)
tree8522004c105b665067ffca0f12bf457f166940ea
parent7f72b466ac769ca283468c45ad75441aae54c161 (diff)
Release holds on a nick on identify, if there is one
-rw-r--r--modules/commands/ns_identify.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/commands/ns_identify.cpp b/modules/commands/ns_identify.cpp
index 9fbe46f6b..cce0569dd 100644
--- a/modules/commands/ns_identify.cpp
+++ b/modules/commands/ns_identify.cpp
@@ -61,6 +61,7 @@ class CommandNSIdentify : public Command
Log(LOG_COMMAND, source, this) << "and identified for account " << na->nc->display;
source.Reply(_("Password accepted - you are now recognized."));
u->Identify(na);
+ na->Release();
}
}
return;