]> jfr.im git - irc/quakenet/newserv.git/blobdiff - request/request.c
docs: Change section title.
[irc/quakenet/newserv.git] / request / request.c
index 823da2285e02d1476c10e62e0a31f7d35c820da2..7c192909432666277f3c50ea014321d9b016ea79 100644 (file)
@@ -324,8 +324,6 @@ int rqcmd_request(void *user, int cargc, char **cargv) {
     return RQ_ERROR;
   }
 
-  retval = RQ_ERROR;
-
   retval = lr_requestl(rqnick, np, cp, qnick);
 
   if (rq_logfd != NULL) {
@@ -512,7 +510,7 @@ int rqcmd_requestop(void *source, int cargc, char **cargv) {
     }
   }
 
-  if (sp_countsplitservers() > 0) {
+  if (sp_countsplitservers(SERVERTYPEFLAG_USER_STATE) > 0) {
     sendnoticetouser(rqnick, np, "One or more servers are currently split. Wait until the"
                    " netsplit is over and try again.");