diff options
author | Adam <Adam@anope.org> | 2010-10-02 21:09:11 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-10-02 21:09:11 -0400 |
commit | 90f0a7c92ac34bc70c0905c20aaf3f7e8a85f289 (patch) | |
tree | a2bf75cc912ed3803157d10761dbea2c2475ffb1 /src/language.cpp | |
parent | 0d684191e99a689c80560018dd52e6d8fd5dc549 (diff) |
Added os_modreload. Also allow unloading database and encryption modules since there isn't a reason we cant allow reloading them. Soon os_modreload will allow reloading the protocol modules.
Diffstat (limited to 'src/language.cpp')
-rw-r--r-- | src/language.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/language.cpp b/src/language.cpp index 8fd15a693..91b28e3df 100644 --- a/src/language.cpp +++ b/src/language.cpp @@ -2430,6 +2430,8 @@ Anope::string language_strings[LANG_STRING_COUNT] = { _("Module %s loaded"), /* OPER_MODULE_UNLOADED */ _("Module %s unloaded"), + /* OPER_MODULE_RELOADED */ + _("Module \002%s\002 reloaded"), /* OPER_MODULE_LOAD_FAIL */ _("Unable to load module %s"), /* OPER_MODULE_REMOVE_FAIL */ @@ -2444,6 +2446,8 @@ Anope::string language_strings[LANG_STRING_COUNT] = { _("MODLOAD FileName"), /* OPER_MODULE_UNLOAD_SYNTAX */ _("MODUNLOAD FileName"), + /* OPER_MODULE_RELOAD_SYNTAX */ + _("MODRELOAD \037FileName\037"), /* OPER_MODULE_LIST_HEADER */ _("Current Module list:"), /* OPER_MODULE_LIST */ @@ -4570,6 +4574,8 @@ Anope::string language_strings[LANG_STRING_COUNT] = { _(" MODLOAD Load a module"), /* OPER_HELP_CMD_MODUNLOAD */ _(" MODUNLOAD Un-Load a module"), + /* OPER_HELP_CMD_MODRELOAD */ + _(" MODRELOAD Reload a module"), /* OPER_HELP_CMD_MODINFO */ _(" MODINFO Info about a loaded module"), /* OPER_HELP_CMD_MODLIST */ @@ -4977,6 +4983,10 @@ Anope::string language_strings[LANG_STRING_COUNT] = { " \n" "This command unloads the module named FileName from the modules\n" "directory."), + /* OPER_HELP_MODRELOAD */ + _("Syntax: \002MODRELOAD\002 \002FileName\002\n" + " \n" + "This command reloads the module named FileName."), /* OPER_HELP_MODINFO */ _("Syntax: MODINFO FileName\n" " \n" |