liquid update
This commit is contained in:
parent
0f9995558a
commit
4e64bc7883
3 changed files with 14 additions and 2 deletions
|
@ -79,6 +79,7 @@ NeoStats ChangeLog - Anything we add/remove/fix/change is in here (even our rant
|
||||||
- Add Unreal EOS support for server synchs (M)
|
- Add Unreal EOS support for server synchs (M)
|
||||||
- Add Berkeley support for statserv (M)
|
- Add Berkeley support for statserv (M)
|
||||||
- Add basic support for module side auth to use within SecureServ (M)
|
- Add basic support for module side auth to use within SecureServ (M)
|
||||||
|
- Fix for bug 117 (Buffer overflow) (M)
|
||||||
|
|
||||||
* NeoStats * Fish (F) * Version 2.5.14
|
* NeoStats * Fish (F) * Version 2.5.14
|
||||||
- Fix a bug with HostServ unable to load the database
|
- Fix a bug with HostServ unable to load the database
|
||||||
|
|
|
@ -131,7 +131,11 @@ int ircvsnprintf(char *buf, size_t size, const char *fmt, va_list args)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* NULL terminate */
|
/* NULL terminate */
|
||||||
buf[len] = 0;
|
if(len < size) {
|
||||||
|
buf[len] = 0;
|
||||||
|
} else {
|
||||||
|
buf[size -1] = 0;
|
||||||
|
}
|
||||||
/* return count chars written */
|
/* return count chars written */
|
||||||
return len;
|
return len;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -295,16 +295,23 @@ send_invite (const char *from, const char *to, const char *chan)
|
||||||
void
|
void
|
||||||
send_akill (const char *sender, const char *host, const char *ident, const char *setby, const int length, const char *reason, const unsigned long ts)
|
send_akill (const char *sender, const char *host, const char *ident, const char *setby, const int length, const char *reason, const unsigned long ts)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
send_cmd (":%s %s %s %s %d %s %lu :%s", sender, MSG_AKILL, host, ident, length, setby, ts, reason);
|
send_cmd (":%s %s %s %s %d %s %lu :%s", sender, MSG_AKILL, host, ident, length, setby, ts, reason);
|
||||||
|
#else
|
||||||
|
send_cmd (":%s %s add %s@%s %d %d %s :%s", me.name, MSG_GLINE, ident, host, length, (int)me.now, setby, reason);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
send_rakill (const char *sender, const char *host, const char *ident)
|
send_rakill (const char *sender, const char *host, const char *ident)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
send_cmd (":%s %s %s %s", sender, MSG_RAKILL, host, ident);
|
send_cmd (":%s %s %s %s", sender, MSG_RAKILL, host, ident);
|
||||||
|
#else
|
||||||
|
send_cmd (":%s %s del %s@%s", me.name, MSG_GLINE, ident, host);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
send_svinfo (const int tscurrent, const int tsmin, const unsigned long tsnow)
|
send_svinfo (const int tscurrent, const int tsmin, const unsigned long tsnow)
|
||||||
{
|
{
|
||||||
|
|
Reference in a new issue