mirror of
https://github.com/anope/anope.git
synced 2026-06-30 13:06:38 +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:
parent
593b0d1799
commit
8ca85197f7
+4
-2
@@ -612,7 +612,8 @@ User *do_nick(const char *source, char *nick, char *username, char *host,
|
||||
sprintf(user->na->last_usermask, "%s@%s",
|
||||
common_get_vident(user), common_get_vhost(user));
|
||||
|
||||
snprintf(tsbuf, sizeof(tsbuf), "%lu", user->timestamp);
|
||||
snprintf(tsbuf, sizeof(tsbuf), "%lu",
|
||||
(unsigned long int) user->timestamp);
|
||||
anope_cmd_svid_umode2(user, tsbuf);
|
||||
|
||||
alog("%s: %s!%s@%s automatically identified for nick %s",
|
||||
@@ -625,7 +626,8 @@ User *do_nick(const char *source, char *nick, char *username, char *host,
|
||||
if (ircd->check_nick_id) {
|
||||
if (nick_identified(user)) {
|
||||
char tsbuf[16];
|
||||
snprintf(tsbuf, sizeof(tsbuf), "%lu", user->timestamp);
|
||||
snprintf(tsbuf, sizeof(tsbuf), "%lu",
|
||||
(unsigned long int) user->timestamp);
|
||||
anope_cmd_svid_umode3(user, tsbuf);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user