Fix NEO-428. Inspircd glining *@*

This commit is contained in:
Fish 2008-04-07 01:05:54 +00:00
parent 19f1d421d4
commit 8b98db8147
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ Anything we add/remove/fix/change is in here (even our rants)
Fish (F), Mark (M), DeadNotBuried (D) Fish (F), Mark (M), DeadNotBuried (D)
=============================================================================== ===============================================================================
* NeoStats * Version 3.0.1 (F) * NeoStats * Version 3.0.1 (F)
- Fix Inspircd module Glining *@* (Neo-428) (F)
- Fix wrong prefixs for Inspircd Module as reported by Brain (F) - Fix wrong prefixs for Inspircd Module as reported by Brain (F)
- Some FreeBSD's define sig_atomic and we were not checking for it in - Some FreeBSD's define sig_atomic and we were not checking for it in
configure. Fixed (F) configure. Fixed (F)

View file

@ -640,7 +640,7 @@ static void send_addline(const char type, const char *source, const char *mask,
} }
void send_akill(const char *server, const char *host, const char *ident, const char *bot, const unsigned long length, const char *reason, const unsigned long ts) { void send_akill(const char *server, const char *host, const char *ident, const char *bot, const unsigned long length, const char *reason, const unsigned long ts) {
char buf[BUFSIZE]; char buf[BUFSIZE];
ircsnprintf(buf, BUFSIZE, "%s@%s", ident, ident); ircsnprintf(buf, BUFSIZE, "%s@%s", ident, host);
send_addline('G', server, buf, bot, reason, length); send_addline('G', server, buf, bot, reason, length);
} }
void send_sqline(const char *source, const char *mask, const char *reason) { void send_sqline(const char *source, const char *mask, const char *reason) {