projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Author: Isomer <isomer@coders.net>
[ircu2.10.12-pk.git]
/
ircd
/
m_stats.c
diff --git
a/ircd/m_stats.c
b/ircd/m_stats.c
index 118d7460115a14a69adaff60c56cf1391960195b..abbf54cc735bc0cb7d1b50aa720abf3839123a95 100644
(file)
--- a/
ircd/m_stats.c
+++ b/
ircd/m_stats.c
@@
-372,16
+372,6
@@
int m_stats(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
send_reply(sptr, RPL_STATSCONN, max_connection_count, max_client_count);
break;
}
send_reply(sptr, RPL_STATSCONN, max_connection_count, max_client_count);
break;
}
- case 'v':
- {
- const struct ConnectionClass* cl = get_class_list();
-
- for ( ; cl; cl = cl->next) {
- if (Links(cl) > 0)
- send_reply(sptr, RPL_TRACECLASS, ConClass(cl), Links(cl));
- }
- }
- break;
case 'W':
case 'w':
calc_load(sptr);
case 'W':
case 'w':
calc_load(sptr);
@@
-618,17
+608,6
@@
int ms_stats(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
send_reply(sptr, RPL_STATSCONN, max_connection_count, max_client_count);
break;
}
send_reply(sptr, RPL_STATSCONN, max_connection_count, max_client_count);
break;
}
- case 'v':
- {
- const struct ConnectionClass* cl = get_class_list();
-
- for ( ; cl; cl = cl->next) {
- if (Links(cl) > 0)
- send_reply(sptr, RPL_TRACECLASS, ConClass(cl), Links(cl));
- }
- }
- break;
-
case 'W':
case 'w':
calc_load(sptr);
case 'W':
case 'w':
calc_load(sptr);
@@
-854,16
+833,6
@@
int mo_stats(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
send_reply(sptr, RPL_STATSCONN, max_connection_count, max_client_count);
break;
}
send_reply(sptr, RPL_STATSCONN, max_connection_count, max_client_count);
break;
}
- case 'v':
- {
- const struct ConnectionClass* cl = get_class_list();
-
- for ( ; cl; cl = cl->next) {
- if (Links(cl) > 0)
- send_reply(sptr, RPL_TRACECLASS, ConClass(cl), Links(cl));
- }
- }
- break;
case 'W':
case 'w':
calc_load(sptr);
case 'W':
case 'w':
calc_load(sptr);