summaryrefslogtreecommitdiff
path: root/src/commandhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-12 21:59:09 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-12 21:59:09 +0200
commit7f1553890e614d5c7afd7f01a11277b822fd4a05 (patch)
tree1d6cb7011db199d41efb3060ce9ede0c57a3b810 /src/commandhandler.h
parent0c6bf93ee13f0b3344079ebf4e60c5ec8323f0bd (diff)
downloadmanaplus-7f1553890e614d5c7afd7f01a11277b822fd4a05.tar.gz
manaplus-7f1553890e614d5c7afd7f01a11277b822fd4a05.tar.bz2
manaplus-7f1553890e614d5c7afd7f01a11277b822fd4a05.tar.xz
manaplus-7f1553890e614d5c7afd7f01a11277b822fd4a05.zip
Add /uptime chat command to show client uptime.
Diffstat (limited to 'src/commandhandler.h')
-rw-r--r--src/commandhandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commandhandler.h b/src/commandhandler.h
index fb4039e04..779a6e6fd 100644
--- a/src/commandhandler.h
+++ b/src/commandhandler.h
@@ -272,6 +272,8 @@ class CommandHandler
void handleWait(const std::string &args, ChatTab *tab);
+ void handleUptime(const std::string &args, ChatTab *tab);
+
void handleCacheInfo(const std::string &args, ChatTab *tab _UNUSED_);
bool parse2Int(const std::string &args, int *x, int *y);