summaryrefslogtreecommitdiff
path: root/modules/extra/stats
diff options
context:
space:
mode:
authorRobby <robby@chatbelgie.be>2017-01-17 05:03:25 +0100
committerRobby <robby@chatbelgie.be>2017-01-17 05:03:25 +0100
commit76ce8ece1a4803c98bfe9460f40bf8e0fbc409e6 (patch)
tree26e6da47f20de64ef76fe4afc459bbb7889bd417 /modules/extra/stats
parent464093d36e87f3df999145e42ed30fc0dfc55c52 (diff)
Cleanup some excess whitespaces and tabs, and fix a few typos along the way.
Diffstat (limited to 'modules/extra/stats')
-rw-r--r--modules/extra/stats/cs_fantasy_stats.cpp1
-rw-r--r--modules/extra/stats/cs_fantasy_top.cpp3
-rw-r--r--modules/extra/stats/irc2sql/CMakeLists.txt1
-rw-r--r--modules/extra/stats/irc2sql/irc2sql.h2
-rw-r--r--modules/extra/stats/irc2sql/utils.cpp1
-rw-r--r--modules/extra/stats/m_chanstats.cpp3
6 files changed, 2 insertions, 9 deletions
diff --git a/modules/extra/stats/cs_fantasy_stats.cpp b/modules/extra/stats/cs_fantasy_stats.cpp
index 628d40747..d571c0c2b 100644
--- a/modules/extra/stats/cs_fantasy_stats.cpp
+++ b/modules/extra/stats/cs_fantasy_stats.cpp
@@ -174,4 +174,3 @@ void CommandCSGStats::Execute(CommandSource &source, const std::vector<Anope::st
}
MODULE_INIT(CSStats)
-
diff --git a/modules/extra/stats/cs_fantasy_top.cpp b/modules/extra/stats/cs_fantasy_top.cpp
index 7d7882f9c..b3dbe6f82 100644
--- a/modules/extra/stats/cs_fantasy_top.cpp
+++ b/modules/extra/stats/cs_fantasy_top.cpp
@@ -151,7 +151,7 @@ class CSTop : public Module
{
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(i, "words").c_str(), res.Get(i, "line").c_str(),
res.Get(i, "smileys").c_str(), res.Get(i, "actions").c_str());
}
}
@@ -185,5 +185,4 @@ void CommandCSGTop10::Execute(CommandSource &source, const std::vector<Anope::st
me->DoTop(source, params, true, 10);
}
-
MODULE_INIT(CSTop)
diff --git a/modules/extra/stats/irc2sql/CMakeLists.txt b/modules/extra/stats/irc2sql/CMakeLists.txt
index 9d36c6e8d..781f0ef1f 100644
--- a/modules/extra/stats/irc2sql/CMakeLists.txt
+++ b/modules/extra/stats/irc2sql/CMakeLists.txt
@@ -1,2 +1 @@
build_subdir(${CMAKE_CURRENT_SOURCE_DIR})
-
diff --git a/modules/extra/stats/irc2sql/irc2sql.h b/modules/extra/stats/irc2sql/irc2sql.h
index d18e89762..19b230200 100644
--- a/modules/extra/stats/irc2sql/irc2sql.h
+++ b/modules/extra/stats/irc2sql/irc2sql.h
@@ -82,5 +82,3 @@ class IRC2SQL : public Module
void OnBotNotice(User *u, BotInfo *bi, Anope::string &message) anope_override;
};
-
-
diff --git a/modules/extra/stats/irc2sql/utils.cpp b/modules/extra/stats/irc2sql/utils.cpp
index 0b0fe787f..3a349ccfb 100644
--- a/modules/extra/stats/irc2sql/utils.cpp
+++ b/modules/extra/stats/irc2sql/utils.cpp
@@ -66,4 +66,3 @@ bool IRC2SQL::HasEvent(const Anope::string &table)
return true;
return false;
}
-
diff --git a/modules/extra/stats/m_chanstats.cpp b/modules/extra/stats/m_chanstats.cpp
index 08d654da4..40c8db5d1 100644
--- a/modules/extra/stats/m_chanstats.cpp
+++ b/modules/extra/stats/m_chanstats.cpp
@@ -111,7 +111,7 @@ class CommandNSSetChanstats : public Command
{
this->Run(source, source.nc->display, params[0]);
}
-
+
bool OnHelp(CommandSource &source, const Anope::string &) anope_override
{
this->SendSyntax(source);
@@ -653,4 +653,3 @@ class MChanstats : public Module
};
MODULE_INIT(MChanstats)
-