Permalink
Browse files

Escaped crypt module token.

  • Loading branch information...
blackwind committed Apr 16, 2012
1 parent 2df8c9e commit f65cc2731ad0015660101d4c00bbbd786dffdd45
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/modtcl/modtcl.tcl
@@ -83,7 +83,7 @@ proc botisvoice {{channel ""}} {return [isvoice $::botnick $channel]}
proc PermCheck {nick perm channel} {
if {$channel == ""} {set channel [channels]}
- if {[ModuleLoaded crypt]} {regsub {^} $nick {} nick}
+ if {[ModuleLoaded crypt]} {regsub {^\244} $nick {} nick}
foreach c $channel {
foreach u [GetChannelUsers $c] {
if {[string match -nocase $nick [lindex $u 0]] && [string match *$perm* [lindex $u 3]]} {

0 comments on commit f65cc27

Please sign in to comment.