diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-08-24 13:01:18 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-08-24 13:01:18 +0000 |
commit | 0a8ba0dee24558b9bd4ccfcd839ce9aacfaf2c55 (patch) | |
tree | 4276c249ec88d5843a8accd2897b88484618fe03 | |
parent | ad71495d166c0659323aeeee5fb8cc7bc542afa5 (diff) |
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
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/users.c | 2 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 7 insertions, 2 deletions
@@ -4,6 +4,7 @@ Provided by Anope Dev. <dev@anope.org> - 2004 Provided by Trystan <trystan@nomadirc.net> - 2004 08/23 A New protocol independent design (aka anope-capab). [ #00] +08/24 F Compile error with gcc2. [ #00] Anope Version 1.7.5 ------------------- diff --git a/src/users.c b/src/users.c index 34946be08..723cf65da 100644 --- a/src/users.c +++ b/src/users.c @@ -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); diff --git a/version.log b/version.log index 3de50b755..74ad65502 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="5" -VERSION_BUILD="330" +VERSION_BUILD="331" # $Log$ # +# BUILD : 1.7.5 (331) +# BUGS : +# NOTES : Fixed a compile error on gcc2, caused by a misplaced variable declaration +# # BUILD : 1.7.5 (330) # BUGS : N/A # NOTES : More indent fun! |