summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-04 16:34:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-04 16:34:47 +0000
commit198cb05d1dbfb1a66d8b506e2a1f42a152553228 (patch)
tree3921f4db50129b5a03c2edd0faf77ef642f20092 /src
parent9f74f4d6f0f7be48a0fc359c7b38809ce8e89297 (diff)
Typo in /stats u
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4714 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/cmd_stats.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_stats.cpp b/src/cmd_stats.cpp
index b5b1ab561..59e64d02b 100644
--- a/src/cmd_stats.cpp
+++ b/src/cmd_stats.cpp
@@ -240,13 +240,13 @@ void DoStats(char statschar, userrec* user, string_list &results)
if (stime->tm_year > 70)
{
char buffer[MAXBUF];
- snprintf(buffer,MAXBUF,"242 %s :Server up %d years, %d days, %.2d:%.2d:%.2d",user->nick,(stime->tm_year-70),stime->tm_yday,stime->tm_hour,stime->tm_min,stime->tm_sec);
+ snprintf(buffer,MAXBUF," 242 %s :Server up %d years, %d days, %.2d:%.2d:%.2d",user->nick,(stime->tm_year-70),stime->tm_yday,stime->tm_hour,stime->tm_min,stime->tm_sec);
results.push_back(sn+buffer);
}
else
{
char buffer[MAXBUF];
- snprintf(buffer,MAXBUF,"242 %s :Server up %d days, %.2d:%.2d:%.2d",user->nick,stime->tm_yday,stime->tm_hour,stime->tm_min,stime->tm_sec);
+ snprintf(buffer,MAXBUF," 242 %s :Server up %d days, %.2d:%.2d:%.2d",user->nick,stime->tm_yday,stime->tm_hour,stime->tm_min,stime->tm_sec);
results.push_back(sn+buffer);
}
}