summaryrefslogtreecommitdiff
path: root/src/map/irc-bot.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-08-05 16:02:25 +0200
committerHaru <haru@dotalux.com>2013-08-12 17:14:51 +0200
commitca1f74fcd9974a8c06dee91b78a49fcb8d2b5095 (patch)
tree6812a68755e1ffe3314c7808dc59209f10fa1fee /src/map/irc-bot.h
parente7e2685a7dfb505e6ccabf83b44a2ea9620e1d86 (diff)
downloadhercules-ca1f74fcd9974a8c06dee91b78a49fcb8d2b5095.tar.gz
hercules-ca1f74fcd9974a8c06dee91b78a49fcb8d2b5095.tar.bz2
hercules-ca1f74fcd9974a8c06dee91b78a49fcb8d2b5095.tar.xz
hercules-ca1f74fcd9974a8c06dee91b78a49fcb8d2b5095.zip
Added support for long IRC messages
- IRC messages are no longer truncated to one line of client chat message, if they are longer than that. They're instead posted as multiple lines. (See comments in the source to disable this, if you wish to.) - Added a define for the max acceptable IRC message length, and increased the size of send_string to fit it Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/irc-bot.h')
-rw-r--r--src/map/irc-bot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/irc-bot.h b/src/map/irc-bot.h
index c0a72dd07..aafbfccde 100644
--- a/src/map/irc-bot.h
+++ b/src/map/irc-bot.h
@@ -10,6 +10,7 @@
#define IRC_IDENT_LENGTH 40
#define IRC_HOST_LENGTH 63
#define IRC_FUNC_LENGTH 30
+#define IRC_MESSAGE_LENGTH 500
struct hChSysCh;