]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/parse.c
s_stats.c removed, now we use new style of stats handling.
[irc/rqf/shadowircd.git] / src / parse.c
index 8aa8f801211b5ca6b3ec1b1e029e48691aefb80d..cebeec9801742de0fdee1ee33e8a7dda4024d3a2 100644 (file)
@@ -162,7 +162,7 @@ parse(struct Client *client_p, char *pbuffer, char *bufend)
                        /* didnt find any matching client, issue a kill */
                        if(from == NULL)
                        {
-                               ServerStats->is_unpf++;
+                               ServerStats.is_unpf++;
                                remove_unknown(client_p, sender, pbuffer);
                                return;
                        }
@@ -172,7 +172,7 @@ parse(struct Client *client_p, char *pbuffer, char *bufend)
                        /* fake direction, hmm. */
                        if(from->from != client_p)
                        {
-                               ServerStats->is_wrdi++;
+                               ServerStats.is_wrdi++;
                                cancel_clients(client_p, from, pbuffer);
                                return;
                        }
@@ -183,7 +183,7 @@ parse(struct Client *client_p, char *pbuffer, char *bufend)
 
        if(*ch == '\0')
        {
-               ServerStats->is_empt++;
+               ServerStats.is_empt++;
                return;
        }
 
@@ -204,7 +204,7 @@ parse(struct Client *client_p, char *pbuffer, char *bufend)
        {
                mptr = NULL;
                numeric = ch;
-               ServerStats->is_num++;
+               ServerStats.is_num++;
                s = ch + 3;     /* I know this is ' ' from above if */
                *s++ = '\0';    /* blow away the ' ', and point s to next part */
        }
@@ -248,7 +248,7 @@ parse(struct Client *client_p, char *pbuffer, char *bufend)
                                                   me.name, from->name, ch);
                                }
                        }
-                       ServerStats->is_unco++;
+                       ServerStats.is_unco++;
                        return;
                }