summaryrefslogtreecommitdiff
path: root/modules/extra/stats/cs_fantasy_top.cpp
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 /modules/extra/stats/cs_fantasy_top.cpp
parent1027ec667a84b918f21b57fc4842bf6bb818105e (diff)
Fix missing colon in stats and top, fix smileys and actions count. Patch by bush.
Diffstat (limited to 'modules/extra/stats/cs_fantasy_top.cpp')
-rw-r--r--modules/extra/stats/cs_fantasy_top.cpp4
1 files changed, 2 insertions, 2 deletions
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