summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/users.c2
-rw-r--r--version.log6
3 files changed, 7 insertions, 2 deletions
diff --git a/Changes b/Changes
index 100e0a94d..0e20da539 100644
--- a/Changes
+++ b/Changes
@@ -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!