Check-in [658b5cfcc1]
Overview
SHA1:658b5cfcc1e64d232a464dd1d82bb63a9d6f5860
Date: 2016-09-15 03:13:28
User: rkeene
Comment:Added additional NICK syntax support
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-09-15
03:18
[ea4794eca7] Better implementation of NICK cleaning (user: rkeene, tags: trunk)
03:13
[658b5cfcc1] Added additional NICK syntax support (user: rkeene, tags: trunk)
2016-09-13
20:35
[f0e00464c6] A few changes to tclircd more usable (user: rkeene, tags: trunk)
Changes

Modified ircd.tcl from [1144d83de8] to [9fa24bb136].

   102    102   	return
   103    103       }
   104    104       if {$line eq {}} return
   105    105       set line [string trim $line]
   106    106       debug "([clientState $fd]:$fd) [clientNick $fd] -> '$line'"
   107    107       if {[clientState $fd] eq {UNREGISTERED}} {
   108    108   	if {[regexp -nocase {NICK +([^ ]+)$} $line -> nick]} {
          109  +            if {[string index $nick 0] eq ":"} {
          110  +                set nick [string range $nick 1 end]
          111  +            }
   109    112   	    if {[nickToFd $nick] ne {}} {
   110    113   		rawMsg $fd "433 * $nick :Nickname is already in use."
   111    114   		return
   112    115   	    }
   113    116   	    clientNick $fd $nick
   114    117   	    nickToFd $nick $fd
   115    118   	    if {[clientUser $fd] ne {}} {