diff options
author | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-19 19:54:11 +0000 |
---|---|---|
committer | michael <michael@82007160-df01-0410-b94d-b575c5fd34c7> | 2013-04-19 19:54:11 +0000 |
commit | 83c1f360e88ae7d06868f449901701f7acb98d4a (patch) | |
tree | ac2a5966f35109f196178cb0102caa33310761d2 /modules | |
parent | 4441fb0906b1d61ef23f1663484d1dd5b61e4875 (diff) |
- m_users, show_lusers: removed extranous arguments to sendto_one()
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1836 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r-- | modules/m_users.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/modules/m_users.c b/modules/m_users.c index 14ab296..fb0a92a 100644 --- a/modules/m_users.c +++ b/modules/m_users.c @@ -60,12 +60,9 @@ m_users(struct Client *client_p, struct Client *source_p, sendto_one(source_p, form_str(RPL_LOCALUSERS), me.name, source_p->name, ConfigServerHide.hide_servers ? Count.total : Count.local, - ConfigServerHide.hide_servers ? Count.max_tot : Count.max_loc, - ConfigServerHide.hide_servers ? Count.total : Count.local, ConfigServerHide.hide_servers ? Count.max_tot : Count.max_loc); - sendto_one(source_p, form_str(RPL_GLOBALUSERS), me.name, source_p->name, - Count.total, Count.max_tot, Count.total, Count.max_tot); + Count.total, Count.max_tot); } /* @@ -83,13 +80,13 @@ mo_users(struct Client *client_p, struct Client *source_p, if (!HasUMode(source_p, UMODE_OPER) && ConfigServerHide.hide_servers) sendto_one(source_p, form_str(RPL_LOCALUSERS), me.name, source_p->name, - Count.total, Count.max_tot, Count.total, Count.max_tot); + Count.total, Count.max_tot); else sendto_one(source_p, form_str(RPL_LOCALUSERS), me.name, source_p->name, - Count.local, Count.max_loc, Count.local, Count.max_loc); + Count.local, Count.max_loc); sendto_one(source_p, form_str(RPL_GLOBALUSERS), me.name, source_p->name, - Count.total, Count.max_tot, Count.total, Count.max_tot); + Count.total, Count.max_tot); } static struct Message users_msgtab = { |