From fb219052c8a09bb8fa9635521756819482da2cdd Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 23 Mar 2025 07:42:47 +0000 Subject: Move DefaultIsNick/DefaultIsUser/IsNick/IsUser to UserManager. --- modules/monitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/monitor.cpp') diff --git a/modules/monitor.cpp b/modules/monitor.cpp index 832c55aa4..5c41018ab 100644 --- a/modules/monitor.cpp +++ b/modules/monitor.cpp @@ -122,7 +122,7 @@ public: WatchResult Watch(LocalUser* user, const std::string& nick, unsigned long maxwatch) { - if (!ServerInstance->IsNick(nick)) + if (!ServerInstance->Users.IsNick(nick)) return WR_INVALIDNICK; WatchedList* watched = GetWatchedPriv(user, true); -- cgit v1.3.1-10-gc9f91