X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_watch.cpp;h=68fe09d645f5b1a680f59fd71cd877587a994b66;hb=f62654a6859998f9d63eb22702c572d5ebcff15c;hp=94292e4bee930135a61c2454ac465b378ad800f6;hpb=9c285d9546ea5b99a5ae1ac5186206308ca2d38f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index 94292e4be..68fe09d64 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -207,7 +207,7 @@ class CommandWatch : public Command ext.set(user, wl); } - if (wl->size() == MAX_WATCH) + if (wl->size() >= MAX_WATCH) { user->WriteNumeric(512, "%s :Too many WATCH entries", nick); return CMD_FAILURE;