]> jfr.im git - irc/quakenet/newserv.git/blobdiff - request/request.c
SPLITLIST/SERVERLIST: Add logic to determine the type of server.
[irc/quakenet/newserv.git] / request / request.c
index 2cd84a36f824be51743445040a9d5162a77758e1..1d04e6202c9d7bba24b75aa675da61791105e679 100644 (file)
@@ -535,7 +535,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.");