mirror of
https://github.com/znc/znc.git
synced 2026-08-10 10:52:59 +02:00
Log: add ShowSettings command, rework Set command, #601
Make more strings translateable, #1354
This commit is contained in:
@@ -27,12 +27,15 @@ class CFloodDetachMod : public CModule {
|
||||
m_iThresholdMsgs = 0;
|
||||
|
||||
AddHelpCommand();
|
||||
AddCommand("Show","",t_d("Show current limits"),[=](const CString& sLine){ShowCommand(sLine);});
|
||||
AddCommand("Show", "", t_d("Show current limits"),
|
||||
[=](const CString& sLine) { ShowCommand(sLine); });
|
||||
AddCommand("Secs", t_d("[<limit>]"),
|
||||
t_d("Show or set number of seconds in the time interval"),
|
||||
[=](const CString& sLine) { SecsCommand(sLine); });
|
||||
AddCommand("Lines",t_d("[<limit>]"),t_d("blahblah: description"),[=](const CString& sLine){LinesCommand(sLine);});
|
||||
AddCommand("Silent",t_d("[yes|no]"),t_d("blahblah: description"),[=](const CString& sLine){SilentCommand(sLine);});
|
||||
AddCommand("Lines", t_d("[<limit>]"), t_d("blahblah: description"),
|
||||
[=](const CString& sLine) { LinesCommand(sLine); });
|
||||
AddCommand("Silent", t_d("[yes|no]"), t_d("blahblah: description"),
|
||||
[=](const CString& sLine) { SilentCommand(sLine); });
|
||||
}
|
||||
|
||||
~CFloodDetachMod() override {}
|
||||
|
||||
Reference in New Issue
Block a user