Tk Library Source Code

View Ticket
Login
Ticket UUID: 1349154
Title: Patch to return channel from connection
Type: Patch Version: None
Submitter: setok Created on: 2005-11-05 18:38:35
Subsystem: irc Assigned To: davidw
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-04-24 05:43:39
Resolution: Accepted Closed By: patthoyts
    Closed on: 2006-04-23 22:43:39
Description:
Just a small and trivial little patch which will return the channel 
used for a particular connection. Useful at least for setting stuff 
like -encoding, although that should probably be handled by a 
separate command.

setox:~/Proging/tcllib setok$ diff /Library/Tcl/tcllib1.7/irc/irc.tcl 
irc.tcl 
10c10
< package provide irc 0.5
---
> package provide irc 0.6
144a145,154
>       # Return socket for this IRC connection, or "" if one does 
not yet
>       # exist.
> 
>       proc cmd-socket {} {
>           variable sock
> 
>           return $sock
>       }
> 
>
User Comments: patthoyts added on 2006-04-24 05:36:20:
Logged In: YES 
user_id=202636

Applied.