Project Zipscript Next Generation
(bug tracker)

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000263pzs-ng v1.0sitebotpublic2004-12-25 02:262005-02-08 21:59
Reportermcr 
Assigned Topsxc 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in VersionBETA5 
Summary0000263: cant redirect FAILLOGIN and TIMEOUT to different channel
DescriptionThe logic that selects what channel to send a message to is flawed. It is not possible to send FAILLOGIN or TIMEOUT to a staffchannel because when the botscript tries to select what channel to send the message to using this line..

if {[lsearch -glob $msgtypes(DEFAULT) $msgtype] != -1} {

..the variable $msgtype still contains the username that failed to login/has timed out. The variable is not replaced until the "parse" function is called, but then it is too late, the output is sent to the default channel.

I guess the detection of this, and replacement of $msgtype needs to be done earlier in the "readlog" function but not beeing a tcl guru and the fact that its 03:25 in xmas day morning tells me i'd better leave this one for someone else to figure out. :)

Merry X-Mas everyone!
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000515)
neoxed (developer)
2005-02-08 19:48

Related to bugs 0000179 and 0000217, the feature was added in r1314.

- Issue History
Date Modified Username Field Change
2004-12-25 02:26 mcr New Issue
2005-02-08 19:48 neoxed Note Added: 0000515
2005-02-08 21:59 psxc Status new => resolved
2005-02-08 21:59 psxc Fixed in Version => BETA5
2005-02-08 21:59 psxc Resolution open => fixed
2005-02-08 21:59 psxc Assigned To => psxc



Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker