summaryrefslogtreecommitdiff
path: root/src/gui/chat.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-22 18:48:01 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-22 20:37:38 -0600
commit2303bb28359d18b8f23328376f800dc36e5c2f5f (patch)
treee3e94e716a0f9a8f39ce12d27be1c955296ef9e8 /src/gui/chat.h
parent9e0079918ed96b1b1f839b525146d14b1c794c52 (diff)
downloadmana-2303bb28359d18b8f23328376f800dc36e5c2f5f.tar.gz
mana-2303bb28359d18b8f23328376f800dc36e5c2f5f.tar.bz2
mana-2303bb28359d18b8f23328376f800dc36e5c2f5f.tar.xz
mana-2303bb28359d18b8f23328376f800dc36e5c2f5f.zip
Fix chat under eAthena
Diffstat (limited to 'src/gui/chat.h')
-rw-r--r--src/gui/chat.h25
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