summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-12-06 01:30:04 +0300
committerAndrei Karas <akaras@inbox.ru>2011-12-06 01:30:04 +0300
commit7a2d595785a61ec874ddc566e0d999495684c2aa (patch)
treec0b6d8b0137e002eb4847d8ead44562264ad1e18 /src/gui/chatwindow.h
parent2d452dd8faf2529fda01913b0ab26f4a1f22ef3d (diff)
downloadmv-7a2d595785a61ec874ddc566e0d999495684c2aa.tar.gz
mv-7a2d595785a61ec874ddc566e0d999495684c2aa.tar.bz2
mv-7a2d595785a61ec874ddc566e0d999495684c2aa.tar.xz
mv-7a2d595785a61ec874ddc566e0d999495684c2aa.zip
Add gm commands to chat autocomplete list (only for gms)
Diffstat (limited to 'src/gui/chatwindow.h')
-rw-r--r--src/gui/chatwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/chatwindow.h b/src/gui/chatwindow.h
index 9d63ca402..3c1195e8f 100644
--- a/src/gui/chatwindow.h
+++ b/src/gui/chatwindow.h
@@ -243,6 +243,8 @@ class ChatWindow : public Window,
void loadCustomList();
+ void loadGMCommands();
+
std::string doReplace(const std::string &msg);
void adjustTabSize();
@@ -330,6 +332,7 @@ class ChatWindow : public Window,
unsigned int mChatHistoryIndex;
std::list<std::string> mAwayLog;
std::vector<std::string> mHighlights;
+ bool mGMLoaded;
};
extern ChatWindow *chatWindow;