diff options
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | nickserv.c | 16 | ||||
-rw-r--r-- | version.log | 8 |
3 files changed, 15 insertions, 12 deletions
@@ -1,8 +1,7 @@ Anope Version S V N ------------------- Provided by Anope Dev. <dev@anope.org> - 2004 -05/24 A New NSNickTracking directive to track nick cores when - changing nicks. +05/24 A New NSNickTracking directive to provide nick tracking. [ #71] 05/21 A Auto enforce upon AKICK addition. [ #63] 05/21 A New file docs/OLDCHANGES contains all change history. [ #65] 05/24 F Cleaned up compile errors on older compilers. [ #69] diff --git a/nickserv.c b/nickserv.c index b9399ca82..5bf250458 100644 --- a/nickserv.c +++ b/nickserv.c @@ -2192,7 +2192,7 @@ static int do_confirm(User * u) notice_lang(s_NickServ, u, NICK_REGISTRATION_FAILED); } - /* Enable nick tracking if enabled*/ + /* Enable nick tracking if enabled */ if (NSNickTracking) nsStartNickTracking(u); @@ -2419,7 +2419,7 @@ static int do_identify(User * u) if (!(na->status & NS_RECOGNIZED)) check_memos(u); - /* Enable nick tracking if enabled*/ + /* Enable nick tracking if enabled */ if (NSNickTracking) nsStartNickTracking(u); } @@ -2586,7 +2586,7 @@ static int do_logout(User * u) else notice_lang(s_NickServ, u, NICK_LOGOUT_SUCCEEDED); - /* Stop nick tracking if enabled*/ + /* Stop nick tracking if enabled */ if (NSNickTracking) nsStopNickTracking(u); } @@ -2762,7 +2762,7 @@ static int do_set_display(User * u, NickCore * nc, char *param) change_core_display(nc, param); notice_lang(s_NickServ, u, NICK_SET_DISPLAY_CHANGED, nc->display); - /* Enable nick tracking if enabled*/ + /* Enable nick tracking if enabled */ if (NSNickTracking) nsStartNickTracking(u); @@ -4128,14 +4128,14 @@ void nsStopNickTracking(User * u) * signature of that core in its structure. * @param u The user whom to check tracking for **/ -int nsCheckNickTracking(User *u) +int nsCheckNickTracking(User * u) { NickCore *nc; NickAlias *na; - char* nick; + char *nick; /* No nick alias or nick return false by default */ - if((!(na = u->na)) || (!(nick = na->nick))) + if ((!(na = u->na)) || (!(nick = na->nick))) return 0; /* Get the core for the requested nick */ @@ -4146,6 +4146,6 @@ int nsCheckNickTracking(User *u) */ if (nc && u->nickTrack && (strcmp(nc->display, u->nickTrack) == 0)) return 1; - else + else return 0; } diff --git a/version.log b/version.log index 00372c141..f3795749c 100644 --- a/version.log +++ b/version.log @@ -8,12 +8,16 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="3" -VERSION_BUILD="122" +VERSION_BUILD="123" # $Log$ # +# BUILD : 1.7.3 (123) +# BUGS : None +# NOTES : Fixed Changes and version.log format and added reference bug number. +# # BUILD : 1.7.3 (122) -# BUGS : None +# BUGS : 71 # NOTES : New NSNickTracking directive to track nick cores when changing nicks. # # BUILD : 1.7.3 (121) |