Skip to content

Commit

Permalink
Merge pull request #132 from rscs/stats-n-fix
Browse files Browse the repository at this point in the history
Fix broken /stats n
  • Loading branch information
eaescob authored Jun 16, 2020
2 parents de9ea36 + 467cdbd commit 3bc0149
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/m_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -778,13 +778,13 @@ int m_stats(aClient *cptr, aClient *sptr, int parc, char *parv[])
case 'N':
case 'n':
sendto_one(sptr, rpl_str(RPL_STATSCOUNT), me.name, parv[0],
"User Connects Today: ", Count.today);
"User Connects Today:", Count.today);
sendto_one(sptr, rpl_str(RPL_STATSCOUNT), me.name, parv[0],
"User Connects past week: ", Count.weekly);
"User Connects past week:", Count.weekly);
sendto_one(sptr, rpl_str(RPL_STATSCOUNT), me.name, parv[0],
"User Connects past month: ", Count.monthly);
"User Connects past month:", Count.monthly);
sendto_one(sptr, rpl_str(RPL_STATSCOUNT), me.name, parv[0],
"User Connects past year: ", Count.yearly);
"User Connects past year:", Count.yearly);
break;
case 'o':
case 'O':
Expand Down
2 changes: 1 addition & 1 deletion src/s_err.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static char *replies[] =
/* 223 */ ":%s 223 %s %c %s * %s %d %d",
/* 224 */ ":%s 224 %s %c %s * %s %d %d",
/* 225 RPL_STATSCLONE */ ":%s 225 %s D %s %d %d %d",
/* 226 RPL_STATSCOUNT */ ":%s 226 %s %s %l",
/* 226 RPL_STATSCOUNT */ ":%s 226 %s %s %lu",
/* 227 RPL_STATSGLINE */ ":%s 227 %s %s * * %s %d :%s",
/* 228 */ NULL,
/* 229 */ NULL,
Expand Down

0 comments on commit 3bc0149

Please sign in to comment.