diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-09 17:45:51 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-10-09 17:45:51 +0000 |
commit | 486fbd1cb2438eba12fa4ebe8fc7acd3dcf072df (patch) | |
tree | 32032934e3a8954081c78757268b6d581e01be39 /src/map/log.h | |
parent | 6b37d26f7557bb6318e046fac461c05751c3f149 (diff) | |
download | hercules-486fbd1cb2438eba12fa4ebe8fc7acd3dcf072df.tar.gz hercules-486fbd1cb2438eba12fa4ebe8fc7acd3dcf072df.tar.bz2 hercules-486fbd1cb2438eba12fa4ebe8fc7acd3dcf072df.tar.xz hercules-486fbd1cb2438eba12fa4ebe8fc7acd3dcf072df.zip |
* Corrected string lengths according to bugreport:198
- CHATBOX_SIZE: 70 -> 70+1
- removed some too aggressive checks in clif_parse_globalmessage()
- removed CHAT_SIZE define as it actually doesn't apply anywhere
- added CHAT_SIZE_MAX to serve as a custom limit to input string lengths
- added length/contents checks to /b and /lb (against fake names)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11386 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/log.h')
-rw-r--r-- | src/map/log.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/log.h b/src/map/log.h index 0065b77c0..758bebd71 100644 --- a/src/map/log.h +++ b/src/map/log.h @@ -41,7 +41,7 @@ enum log_what { extern struct Log_Config { enum log_what enable_logs; int filter; - int sql_logs; + bool sql_logs; int rare_items_log,refine_items_log,price_items_log,amount_items_log; //for filter int branch, drop, mvpdrop, zeny, gm, npc, chat; char log_branch[64], log_pick[64], log_zeny[64], log_mvpdrop[64], log_gm[64], log_npc[64], log_chat[64]; |