summaryrefslogtreecommitdiff
path: root/modules/core
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-02-25 21:41:08 -0500
committerAdam <Adam@anope.org>2011-02-25 21:41:08 -0500
commitc38b6392c5956628f51faaa6085367dd32199e61 (patch)
tree8933d0997016756b15e10a7ad88a5d51c04d841e /modules/core
parentee387569821b45581063f6bc349cccc643f9a293 (diff)
More fixes. Also made db_mysql_live not keep bots updated because thats pointless and made m_asynch_commands respect user language settings.
Diffstat (limited to 'modules/core')
-rw-r--r--modules/core/cs_list.cpp2
-rw-r--r--modules/core/cs_saset.cpp2
-rw-r--r--modules/core/cs_set.cpp2
-rw-r--r--modules/core/ns_list.cpp2
-rw-r--r--modules/core/ns_saset.cpp2
-rw-r--r--modules/core/ns_set.cpp2
6 files changed, 6 insertions, 6 deletions
diff --git a/modules/core/cs_list.cpp b/modules/core/cs_list.cpp
index a330b5edd..4f1a95952 100644
--- a/modules/core/cs_list.cpp
+++ b/modules/core/cs_list.cpp
@@ -37,7 +37,7 @@ class CommandCSList : public Command
if (Config->CSListOpersOnly && !u->HasMode(UMODE_OPER))
{
source.Reply(LanguageString::ACCESS_DENIED);
- return MOD_STOP;
+ return MOD_CONT;
}
if (pattern[0] == '#')
diff --git a/modules/core/cs_saset.cpp b/modules/core/cs_saset.cpp
index 50a6f0bc9..876a487a3 100644
--- a/modules/core/cs_saset.cpp
+++ b/modules/core/cs_saset.cpp
@@ -55,7 +55,7 @@ class CommandCSSASet : public Command
for (std::vector<Anope::string>::const_iterator it = params.begin() + 2, it_end = params.end(); it != it_end; ++it)
cmdparams += " " + *it;
Log(LOG_ADMIN, u, this, ci) << params[1] << " " << cmdparams;
- mod_run_cmd(ChanServ, u, c, params[1], cmdparams, false);
+ mod_run_cmd(ChanServ, u, NULL, c, params[1], cmdparams);
}
else
{
diff --git a/modules/core/cs_set.cpp b/modules/core/cs_set.cpp
index 55817d219..e089d4a2a 100644
--- a/modules/core/cs_set.cpp
+++ b/modules/core/cs_set.cpp
@@ -59,7 +59,7 @@ class CommandCSSet : public Command
Anope::string cmdparams = ci->name;
for (std::vector<Anope::string>::const_iterator it = params.begin() + 2, it_end = params.end(); it != it_end; ++it)
cmdparams += " " + *it;
- mod_run_cmd(ChanServ, u, c, params[1], cmdparams, false);
+ mod_run_cmd(ChanServ, u, NULL, c, params[1], cmdparams);
}
else
{
diff --git a/modules/core/ns_list.cpp b/modules/core/ns_list.cpp
index 7350a471c..9d49ce2f5 100644
--- a/modules/core/ns_list.cpp
+++ b/modules/core/ns_list.cpp
@@ -53,7 +53,7 @@ class CommandNSList : public Command
if (Config->NSListOpersOnly && !u->HasMode(UMODE_OPER)) /* reverse the help logic */
{
source.Reply(LanguageString::ACCESS_DENIED);
- return MOD_STOP;
+ return MOD_CONT;
}
if (pattern[0] == '#')
diff --git a/modules/core/ns_saset.cpp b/modules/core/ns_saset.cpp
index 0aeab4d95..993a090fc 100644
--- a/modules/core/ns_saset.cpp
+++ b/modules/core/ns_saset.cpp
@@ -62,7 +62,7 @@ class CommandNSSASet : public Command
Log(LOG_ADMIN, u, this) << params[1] << " " << cmdparams;
else
Log(LOG_ADMIN, u, this) << params[1] << " for " << params[0];
- mod_run_cmd(NickServ, u, c, params[1], cmdparams, false);
+ mod_run_cmd(NickServ, u, NULL, c, params[1], cmdparams);
}
else
source.Reply(_("Unknown SASET option \002%s\002."), cmd.c_str());
diff --git a/modules/core/ns_set.cpp b/modules/core/ns_set.cpp
index 3bd9a0eae..86272c084 100644
--- a/modules/core/ns_set.cpp
+++ b/modules/core/ns_set.cpp
@@ -57,7 +57,7 @@ class CommandNSSet : public Command
Log(LOG_COMMAND, u, this) << params[0] << " " << cmdparams;
else
Log(LOG_COMMAND, u, this) << params[0];
- mod_run_cmd(NickServ, u, c, params[0], cmdparams, false);
+ mod_run_cmd(NickServ, u, NULL, c, params[0], cmdparams);
}
else
source.Reply(LanguageString::NICK_SET_UNKNOWN_OPTION, params[0].c_str());