- Rewrite IRC code with {fmt}
- Fixed bug where irc_send_cmd() may write past end of buffer - Break RPL_NAMREPLY into multiple packets if message cannot fit in one packet
This commit is contained in:
parent
6e95caa6d6
commit
9fa737df00
2 changed files with 1152 additions and 769 deletions
1918
src/bnetd/irc.cpp
1918
src/bnetd/irc.cpp
File diff suppressed because it is too large
Load diff
|
@ -34,8 +34,7 @@ namespace pvpgn
|
|||
namespace bnetd
|
||||
{
|
||||
|
||||
extern int irc_send_cmd(t_connection * conn, char const * command, char const * params);
|
||||
extern int irc_send(t_connection * conn, int code, char const * params);
|
||||
extern int irc_send(t_connection * conn, int numeric, char const * params);
|
||||
extern int irc_send_ping(t_connection * conn);
|
||||
extern int irc_send_pong(t_connection * conn, char const * params);
|
||||
extern int irc_authenticate(t_connection * conn, char const * passhash);
|
||||
|
|
Loading…
Add table
Reference in a new issue