summaryrefslogtreecommitdiff
path: root/modules/extra/db_mysql.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/db_mysql.cpp')
-rw-r--r--modules/extra/db_mysql.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/extra/db_mysql.cpp b/modules/extra/db_mysql.cpp
index 180b66463..03515d239 100644
--- a/modules/extra/db_mysql.cpp
+++ b/modules/extra/db_mysql.cpp
@@ -129,13 +129,17 @@ class CommandSQLSync : public Command
bool OnHelp(CommandSource &source, const Anope::string &subcommand)
{
- source.Reply(OPER_HELP_SYNC);
+ source.Reply(_("Syntax: \002SQLSYNC\002\n"
+ " \n"
+ "This command syncs your databases with SQL. You should\n"
+ "only have to execute this command once, when you initially\n"
+ "import your databases into SQL."));
return true;
}
void OnServHelp(CommandSource &source)
{
- source.Reply(OPER_HELP_CMD_SQLSYNC);
+ source.Reply(_(" SQLSYNC Import your databases to SQL"));
}
};
@@ -1393,7 +1397,7 @@ CommandReturn CommandSQLSync::Execute(CommandSource &source, const std::vector<A
{
User *u = source.u;
SaveDatabases();
- u->SendMessage(OperServ, OPER_SYNC_UPDATED);
+ u->SendMessage(OperServ, _("Updating MySQL."));
return MOD_CONT;
}