mirror of
https://github.com/anope/anope.git
synced 2026-07-03 21:43:13 +02:00
BUILD : 1.7.5 (331) BUGS : NOTES : Fixed a compile error on gcc2, caused by a misplaced variable declaration
git-svn-id: svn://svn.anope.org/anope/trunk@331 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@207 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
ad71495d16
commit
0a8ba0dee2
+1
-1
@@ -586,6 +586,7 @@ User *do_nick(const char *source, char *nick, char *username, char *host,
|
||||
|
||||
} else {
|
||||
if (nick_identified(user)) {
|
||||
char tsbuf[16];
|
||||
user->na->last_seen = time(NULL);
|
||||
|
||||
if (user->na->last_usermask)
|
||||
@@ -596,7 +597,6 @@ 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));
|
||||
|
||||
char tsbuf[16];
|
||||
snprintf(tsbuf, sizeof(tsbuf), "%lu", user->timestamp);
|
||||
anope_cmd_svid_umode2(user, tsbuf);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user