summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-01-21 21:10:06 -0500
committerAdam <Adam@anope.org>2014-01-21 21:10:06 -0500
commit81b01bb55b2e10dcebe042aebd260c3744b190dd (patch)
tree8c32c385efcb72b0435018a9e3e3bf23cbb4dd71
parent1027ec667a84b918f21b57fc4842bf6bb818105e (diff)
Fix missing colon in stats and top, fix smileys and actions count. Patch by bush.
-rw-r--r--modules/extra/stats/cs_fantasy_stats.cpp2
-rw-r--r--modules/extra/stats/cs_fantasy_top.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/extra/stats/cs_fantasy_stats.cpp b/modules/extra/stats/cs_fantasy_stats.cpp
index ce5195122..91c1d14a4 100644
--- a/modules/extra/stats/cs_fantasy_stats.cpp
+++ b/modules/extra/stats/cs_fantasy_stats.cpp
@@ -147,7 +147,7 @@ class CSStats : public Module
else
source.Reply(_("Channel stats for %s on %s:"), display.c_str(), channel.c_str());
- source.Reply(_("letters: %s, words: %s, lines: %s, smileys %s, actions: %s"),
+ source.Reply(_("letters: %s, words: %s, lines: %s, smileys: %s, actions: %s"),
res.Get(0, "letters").c_str(), res.Get(0, "words").c_str(),
res.Get(0, "line").c_str(), res.Get(0, "smileys").c_str(),
res.Get(0, "actions").c_str());
diff --git a/modules/extra/stats/cs_fantasy_top.cpp b/modules/extra/stats/cs_fantasy_top.cpp
index b110a58ce..80db66eb9 100644
--- a/modules/extra/stats/cs_fantasy_top.cpp
+++ b/modules/extra/stats/cs_fantasy_top.cpp
@@ -149,10 +149,10 @@ class CSTop : public Module
source.Reply(_("Top %i of %s"), limit, (is_global ? "Network" : channel.c_str()));
for (int i = 0; i < res.Rows(); ++i)
{
- source.Reply(_("%2lu \002%-16s\002 letters: %s, words: %s, lines: %s, smileys %s, actions: %s"),
+ source.Reply(_("%2lu \002%-16s\002 letters: %s, words: %s, lines: %s, smileys: %s, actions: %s"),
i+1, res.Get(i, "nick").c_str(), res.Get(i, "letters").c_str(),
res.Get(i, "words").c_str(), res.Get(i, "line").c_str(),
- res.Get(0, "smileys").c_str(), res.Get(0, "actions").c_str());
+ res.Get(i, "smileys").c_str(), res.Get(i, "actions").c_str());
}
}
else