Skip to content

Commit

Permalink
Added missing read trace flag to the nick-len variable trace after be…
Browse files Browse the repository at this point in the history
…ing unset to make the trace be removed properly on unload.
  • Loading branch information
thommey committed Oct 25, 2011
1 parent 59bc017 commit d9b6369
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
3 changes: 2 additions & 1 deletion THANKS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$Id: THANKS,v 1.12 2011/10/02 18:25:17 pseudo Exp $:
$Id: THANKS,v 1.13 2011/10/25 16:45:08 thommey Exp $:

Eggdrop Developers and Contributors
Last revised: June 16, 2010
Expand Down Expand Up @@ -203,6 +203,7 @@ DocSavag Jerry Sutton [email protected]
dollar
Domino
Donovan Long
Dopsy [email protected]
dorgan
dork
dracwolf
Expand Down
8 changes: 7 additions & 1 deletion doc/Changes1.6
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
$Id: Changes1.6,v 1.116 2011/10/02 20:51:31 pseudo Exp $
$Id: Changes1.6,v 1.117 2011/10/25 16:45:08 thommey Exp $

Eggdrop Changes (since version 1.6.0)

_____________________________________________________________________

1.6.21 (CVS):

- Added missing read trace flag to the nick-len variable trace after
being unset to make the trace be removed properly on unload.
Found by: Dopsy / Patch by: pseudo

# RC1 released on October 3rd, 2011.

- Updated instructions for compilation under Cygwin. Updated space
requirements a bit.
Patch by: pseudo
Expand Down
6 changes: 3 additions & 3 deletions src/mod/server.mod/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* server.c -- part of server.mod
* basic irc server support
*
* $Id: server.c,v 1.139 2011/02/13 14:19:34 simple Exp $
* $Id: server.c,v 1.140 2011/10/25 16:45:08 thommey Exp $
*/
/*
* Copyright (C) 1997 Robey Pointer
Expand Down Expand Up @@ -1324,8 +1324,8 @@ static char *traced_nicklen(ClientData cdata, Tcl_Interp *irp,
egg_snprintf(s, sizeof s, "%d", nick_len);
Tcl_SetVar2(interp, name1, name2, s, TCL_GLOBAL_ONLY);
if (flags & TCL_TRACE_UNSETS)
Tcl_TraceVar(irp, name1, TCL_TRACE_WRITES | TCL_TRACE_UNSETS,
traced_nicklen, cdata);
Tcl_TraceVar(irp, name1, TCL_TRACE_READS | TCL_TRACE_WRITES |
TCL_TRACE_UNSETS, traced_nicklen, cdata);
} else {
EGG_CONST char *cval = Tcl_GetVar2(interp, name1, name2, TCL_GLOBAL_ONLY);
long lval = 0;
Expand Down
6 changes: 3 additions & 3 deletions src/patch.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* statement, leave the rest of the file alone, this allows better
* overlapping patches.
*
* $Id: patch.h,v 1.1269 2011/10/02 20:11:06 pseudo Exp $
* $Id: patch.h,v 1.1270 2011/10/25 16:45:08 thommey Exp $
*/
/*
* Copyright (C) 1997 Robey Pointer
Expand Down Expand Up @@ -41,12 +41,12 @@ patch("CVS"); /* CVS version */
*
*
*/
patch("1317586214"); /* current unixtime */
patch("1319561053"); /* current unixtime */
/*
*
*
*/
patch("baddrshare");
patch("nicklentrace");
/*
*
*
Expand Down

0 comments on commit d9b6369

Please sign in to comment.