From e4ed82286f5f549101a577b455b7584b6fc20270 Mon Sep 17 00:00:00 2001 From: ultramage Date: Fri, 28 Mar 2008 18:53:51 +0000 Subject: Some more txt/sql login server synchronization: - removed the option to specify multiple IPs/subnets for 'ladminallowip' - removed the @gm command and all associated management code - removed the 'save unknown packets' code - removed the lengthy TXT ipban code (which was essentially a copy of what's already handled by the socket layer/packet_athena.conf) - implemented 'start_limited_time' in SQL (expiration for new accounts) - applied some missing TXT changes from the last update git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12446 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/char.c | 41 ----------------------------------------- 1 file changed, 41 deletions(-) (limited to 'src/char_sql') diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 917d0ae93..533946546 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1762,35 +1762,6 @@ int parse_fromlogin(int fd) RFIFOSKIP(fd,2); break; - // gm reply. I don't want to support this function. - case 0x2721: - if (RFIFOREST(fd) < 10) - return 0; - -/* Note that this is the code from char-txt! Even uncommenting it will not work. - { - int oldacc, newacc; - unsigned char buf[64]; - if (RFIFOREST(fd) < 10) - return 0; - oldacc = RFIFOL(fd, 2); - newacc = RFIFOL(fd, 6); - RFIFOSKIP(fd, 10); - if (newacc > 0) { - for(i=0;i login-server if (RFIFOREST(fd) < 86) return 0; -- cgit v1.2.3-70-g09d2