summaryrefslogtreecommitdiff
path: root/src/commands.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-26 22:05:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-26 22:05:50 +0300
commit620d7602a2c32973b33a079159f56f632bbd983d (patch)
tree4d01d1a8d13cf6b9957ece3f66cedbc61f8f59a0 /src/commands.h
parent5889bd94d241b8454268804861a67c79315a7731 (diff)
downloadmv-620d7602a2c32973b33a079159f56f632bbd983d.tar.gz
mv-620d7602a2c32973b33a079159f56f632bbd983d.tar.bz2
mv-620d7602a2c32973b33a079159f56f632bbd983d.tar.xz
mv-620d7602a2c32973b33a079159f56f632bbd983d.zip
add chat command for uploading log file.
New chat command: /uploadlog
Diffstat (limited to 'src/commands.h')
-rw-r--r--src/commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands.h b/src/commands.h
index 1a28f9fa7..6c2101f42 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -131,6 +131,7 @@ namespace Commands
decHandler(talkRaw);
decHandler(talkPet);
decHandler(uploadConfig);
+ decHandler(uploadLog);
void replaceVars(std::string &str);
} // namespace Commands
@@ -229,6 +230,7 @@ enum
COMMAND_TALKRAW,
COMMAND_TALKPET,
COMMAND_UPLOADCONFIG,
+ COMMAND_UPLOADLOG,
COMMAND_HACK,
END_COMMANDS
};
@@ -327,6 +329,7 @@ static const CommandInfo commands[] =
{"talkraw", &Commands::talkRaw, -1, true},
{"talkpet", &Commands::talkPet, -1, true},
{"uploadconfig", &Commands::uploadConfig, -1, false},
+ {"uploadlog", &Commands::uploadLog, -1, false},
{"hack", &Commands::hack, -1, true}
};