summaryrefslogtreecommitdiff
path: root/src/ladmin
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-17 16:28:36 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-17 16:28:36 +0000
commitff8a0342bc95eb2064ed7c620a0c410a92fde310 (patch)
tree1a67d237beeb55f235be6b1ae34737fefcfe658d /src/ladmin
parent6b1b1974a10bb5ad8f69d9f84d7babcc370f9264 (diff)
downloadhercules-ff8a0342bc95eb2064ed7c620a0c410a92fde310.tar.gz
hercules-ff8a0342bc95eb2064ed7c620a0c410a92fde310.tar.bz2
hercules-ff8a0342bc95eb2064ed7c620a0c410a92fde310.tar.xz
hercules-ff8a0342bc95eb2064ed7c620a0c410a92fde310.zip
* Readded Chemical Protection
* Removed some old eA code that was causing Frost Nova to do an extra hit * Corrected Vulcan Arrow's hits in skill_db * Readded zlib and zconf .h files to under /lib * Fixed some compile errors in Windows * Changed remove_control_characters back to supporting korean chars * Moved some other code around git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1125 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/ladmin')
-rw-r--r--src/ladmin/ladmin.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/ladmin/ladmin.c b/src/ladmin/ladmin.c
index de177ba8a..0453efa1d 100644
--- a/src/ladmin/ladmin.c
+++ b/src/ladmin/ladmin.c
@@ -36,6 +36,7 @@ void Gettimeofday(struct timeval *timenow)
#include <stdarg.h> // valist
#include <ctype.h> // tolower
+#include "../common/strlib.h"
#include "../common/core.h"
#include "../common/socket.h"
#include "ladmin.h"
@@ -291,23 +292,6 @@ int ladmin_log(char *fmt, ...) {
return 0;
}
-//-----------------------------------------------------
-// Function to suppress control characters in a string.
-//-----------------------------------------------------
-int remove_control_chars(char *str) {
- int i;
- int change = 0;
-
- for(i = 0; str[i]; i++) {
- if (str[i] < 32) {
- str[i] = '_';
- change = 1;
- }
- }
-
- return change;
-}
-
//---------------------------------------------
// Function to return ordonal text of a number.
//---------------------------------------------