1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 04:43:13 +02:00

BUILD : 1.7.5 (423) BUGS : N/A NOTES : code tidy up fixes stuff under Freebsd

git-svn-id: svn://svn.anope.org/anope/trunk@423 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@281 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
2004-10-25 03:31:33 +00:00
parent 593b0d1799
commit 8ca85197f7
20 changed files with 169 additions and 123 deletions
+7 -4
View File
@@ -1855,7 +1855,7 @@ void add_ns_timeout(NickAlias * na, int type, time_t delay)
timeout_routine = timeout_release;
else {
alog("NickServ: unknown timeout type %d! na=0x%p (%s), delay=%ld",
type, (void *) na, na->nick, delay);
type, (void *) na, na->nick, (long int) delay);
return;
}
@@ -2290,7 +2290,8 @@ static int do_confirm(User * u)
u->lastnickreg = time(NULL);
if (ircd->modeonreg) {
if (ircd->tsonmode) {
snprintf(tsbuf, sizeof(tsbuf), "%lu", u->timestamp);
snprintf(tsbuf, sizeof(tsbuf), "%lu",
(unsigned long int) u->timestamp);
common_svsmode(u, ircd->modeonreg, tsbuf);
} else {
common_svsmode(u, ircd->modeonreg, NULL);
@@ -2448,7 +2449,8 @@ static int do_group(User * u)
notice_lang(s_NickServ, u, NICK_GROUP_JOINED, target->nick);
u->lastnickreg = time(NULL);
snprintf(tsbuf, sizeof(tsbuf), "%lu", u->timestamp);
snprintf(tsbuf, sizeof(tsbuf), "%lu",
(unsigned long int) u->timestamp);
if (ircd->modeonreg) {
if (ircd->tsonmode) {
common_svsmode(u, ircd->modeonreg, tsbuf);
@@ -2537,7 +2539,8 @@ static int do_identify(User * u)
na->status |= NS_IDENTIFIED;
na->last_seen = time(NULL);
snprintf(tsbuf, sizeof(tsbuf), "%lu", u->timestamp);
snprintf(tsbuf, sizeof(tsbuf), "%lu",
(unsigned long int) u->timestamp);
if (ircd->modeonreg) {
if (ircd->tsonmode) {