diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/login_sql/login.c | 1 | ||||
-rw-r--r-- | src/map/intif.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c index 4db7962a1..237ab2a0d 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -1514,7 +1514,6 @@ int parse_login(int fd) { sprintf(ip, "%d.%d.%d.%d", p[0], p[1], p[2], p[3]);
memset(&account, 0, sizeof(account));
- i = RFIFOREST(fd)>=2?RFIFOW(fd,0):0;
if (session[fd]->eof) {
for(i = 0; i < MAX_SERVERS; i++)
diff --git a/src/map/intif.c b/src/map/intif.c index 35fe41d99..9f20d3a9c 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -837,10 +837,10 @@ static int mapif_parse_WisToGM_sub(struct map_session_data* sd,va_list va) { char *message;
int len;
if (pc_isGM(sd) < min_gm_level) return 0;
- clif_wis_message(sd->fd, wisp_name, message, len);
wisp_name = va_arg(va, char*);
message = va_arg(va, char*);
len = va_arg(va, int);
+ clif_wis_message(sd->fd, wisp_name, message, len);
return 1;
}
|