really fix IP address conversions for IRCu now
This commit is contained in:
parent
953d114bcc
commit
aa05cfbb87
4 changed files with 6 additions and 8 deletions
|
@ -4,6 +4,7 @@ Anything we add/remove/fix/change is in here (even our rants)
|
|||
Fish (F), Mark (M), DeadNotBuried (D)
|
||||
===============================================================================
|
||||
* NeoStats * Version 3.0.b1-dev
|
||||
- Really fix IRCu IP address conversions (F)
|
||||
- Include Modules loaded in segfault report (F)
|
||||
- Fix IRCu IP address detections (F)
|
||||
- have Pseudo Client change Channel modes on unreal3.2 instead of the Server (D)
|
||||
|
|
|
@ -341,8 +341,7 @@ static void m_nick( char *origin, char **argv, int argc, int srv )
|
|||
} /* for( ) */
|
||||
} /* if( modes ) */
|
||||
|
||||
IP = ntohl( base64toIP( argv[argc-3] ) );
|
||||
ircsnprintf( IPAddress, 32, "%lu", IP );
|
||||
ircsnprintf( IPAddress, 32, "%lu", base64toIP( argv[argc-3]) );
|
||||
|
||||
/* nick, hopcount, TS, user, host, */
|
||||
do_nick( argv[0], argv[1], argv[2], argv[3], argv[4],
|
||||
|
|
|
@ -307,9 +307,8 @@ static void m_nick( char *origin, char **argv, int argc, int srv )
|
|||
} /* for( ) */
|
||||
} /* if( modes ) */
|
||||
|
||||
IP = ntohl( base64toIP( argv[argc-3] ) );
|
||||
ircsnprintf( IPAddress, 32, "%lu", IP );
|
||||
|
||||
ircsnprintf( IPAddress, 32, "%lu", base64toIP( argv[argc-3]) );
|
||||
|
||||
/* nick, hopcount, TS, user, host, */
|
||||
do_nick( argv[0], argv[1], argv[2], argv[3], argv[4],
|
||||
/* server, ip, servicestamp, modes, */
|
||||
|
|
|
@ -464,9 +464,8 @@ static void m_nick( char *origin, char **argv, int argc, int srv )
|
|||
} /* for( ) */
|
||||
} /* if( modes ) */
|
||||
|
||||
IP = ntohl( base64toIP( argv[argc-3] ) );
|
||||
ircsnprintf( IPAddress, 32, "%lu", IP );
|
||||
|
||||
ircsnprintf( IPAddress, 32, "%lu", base64toIP( argv[argc-3]) );
|
||||
|
||||
/* nick, hopcount, TS, user, host, */
|
||||
do_nick( argv[0], argv[1], argv[2], argv[3], argv[4],
|
||||
/* server, ip, servicestamp, modes, */
|
||||
|
|
Reference in a new issue