summaryrefslogtreecommitdiff
path: root/modules/commands
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands')
-rw-r--r--modules/commands/ns_group.cpp2
-rw-r--r--modules/commands/ns_info.cpp2
2 files changed, 2 insertions, 2 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");
diff --git a/modules/commands/ns_info.cpp b/modules/commands/ns_info.cpp
index 443b6a9b7..692c4abf3 100644
--- a/modules/commands/ns_info.cpp
+++ b/modules/commands/ns_info.cpp
@@ -40,7 +40,7 @@ class CommandNSInfo : public Command
bool nick_online = false, show_hidden = false;
/* Is the real owner of the nick we're looking up online? -TheShadow */
- User *u2 = User::Find(na->nick);
+ User *u2 = User::Find(na->nick, true);
if (u2 && u2->Account() == na->nc)
{
nick_online = true;