Apply hikari's pluggable crypt mechanism patch
[ircu2.10.12-pk.git] / ircd / m_info.c
index 952e1c3c57f90c1d83ee7cf08cfe5f9071af9571..ec298d3169beb18eb39384174ccc7bf44fef6d9e 100644 (file)
@@ -179,7 +179,7 @@ int mo_info(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
        send_reply(sptr, RPL_INFO, *text);
       text++;
     }
-    if (IsOper(sptr))
+    if (IsOper(sptr) && (NULL != parv[1]))
     {
       while (*text)
        send_reply(sptr, RPL_INFO, *text++);