diff options
| author | 2025-03-23 07:42:47 +0000 | |
|---|---|---|
| committer | 2025-03-23 07:42:47 +0000 | |
| commit | fb219052c8a09bb8fa9635521756819482da2cdd (patch) | |
| tree | e6d6f5fb492c588969d8ac89e1ab312454c23047 /modules/monitor.cpp | |
| parent | Only include <sstream> from files that actually use it. (diff) | |
Move DefaultIsNick/DefaultIsUser/IsNick/IsUser to UserManager.
Diffstat (limited to 'modules/monitor.cpp')
| -rw-r--r-- | modules/monitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
