added gnutls backend and moved backend code into new files
[ircu2.10.12-pk.git] / ircd / m_privs.c
index 53904fdca350933eb0c1ef71e997a4add5f8de91..f39915eee334f2faf9c26a3624ad834c1106598b 100644 (file)
@@ -59,7 +59,7 @@ int mo_privs(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
     for (name = ircd_strtok(&p, parv[i], " "); name;
         name = ircd_strtok(&p, 0, " ")) {
       if (!(acptr = FindUser(name)))
-        continue;
+        send_reply(sptr, ERR_NOSUCHNICK, name);
       else if (MyUser(acptr))
        client_report_privs(sptr, acptr);
       else