summaryrefslogtreecommitdiff
path: root/modules/commands/ns_group.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2016-01-19 08:30:35 -0500
committerAdam <Adam@anope.org>2016-01-19 08:30:35 -0500
commit4771af1cb89cd5d9a983d83e108b9fb8de9b5f52 (patch)
treecb15a43d350f5fa325d2030b69849e05b09a39ee /modules/commands/ns_group.cpp
parent9c9df2ad1fc8e8f03f4b28d21b4dcc2895d3795c (diff)
Couple user find by nick fixes
Diffstat (limited to 'modules/commands/ns_group.cpp')
-rw-r--r--modules/commands/ns_group.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_group.cpp b/modules/commands/ns_group.cpp
index 11e4091cd..8d85a305d 100644
--- a/modules/commands/ns_group.cpp
+++ b/modules/commands/ns_group.cpp
@@ -259,7 +259,7 @@ class CommandNSUngroup : public Command
source.Reply(_("Nick %s has been ungrouped from %s."), na->nick.c_str(), oldcore->display.c_str());
- User *user = User::Find(na->nick);
+ User *user = User::Find(na->nick, true);
if (user)
/* The user on the nick who was ungrouped may be identified to the old group, set -r */
user->RemoveMode(source.service, "REGISTERED");