diff options
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r-- | src/gui/chat.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/gui/chat.h b/src/gui/chat.h index bbca76ad..88a5d3e9 100644 --- a/src/gui/chat.h +++ b/src/gui/chat.h @@ -146,8 +146,9 @@ class ChatWindow : public Window, * Adds a line of text to our message list. Parameters: * * @param line Text message. - * @parem own Type of message (usually the owner-type). + * @param own Type of message (usually the owner-type). * @param channelName which channel to send the message to. + * @param ignoreRecord should this not be recorded? */ void chatLog(std::string line, int own = BY_SERVER, @@ -186,17 +187,6 @@ class ChatWindow : public Window, */ bool isInputFocused(); -#ifdef TMWSERV_SUPPORT - /** - * Determines whether the message is a command or message, then - * sends the given message to the game server to be said, or to the - * command handler - * - * @param msg The message text which is to be sent. - * - */ - void chatSend(std::string &msg); - /** Called to remove the channel from the channel manager */ void removeChannel(short channelId); @@ -211,6 +201,17 @@ class ChatWindow : public Window, void sendToChannel(short channel, const std::string &user, const std::string &msg); + +#ifdef TMWSERV_SUPPORT + /** + * Determines whether the message is a command or message, then + * sends the given message to the game server to be said, or to the + * command handler + * + * @param msg The message text which is to be sent. + * + */ + void chatSend(std::string &msg); #else /** * Determines whether to send a command or an ordinary message, then |