Log: add ShowSettings command, rework Set command, #601

Make more strings translateable, #1354
This commit is contained in:
Alexey Sokolov
2017-09-07 23:35:18 +01:00
parent 408e6e9f01
commit d51159a330
11 changed files with 173 additions and 113 deletions

View File

@@ -22,7 +22,8 @@ class CMissingMotd : public CModule {
MODCONSTRUCTOR(CMissingMotd) {}
void OnClientLogin() override {
PutUser(":irc.znc.in 422 " + GetClient()->GetNick() + " :MOTD File is missing");
PutUser(":irc.znc.in 422 " + GetClient()->GetNick() +
" :MOTD File is missing");
}
};
@@ -32,4 +33,4 @@ void TModInfo<CMissingMotd>(CModInfo& Info) {
Info.SetHasArgs(false);
}
USERMODULEDEFS(CMissingMotd, "Sends 422 to clients when they login")
USERMODULEDEFS(CMissingMotd, t_s("Sends 422 to clients when they login"))