Users list in IRC clients missing for me?

i edited the code to list the broadcaster:

    on *:NOTICE:The moderators of this room are*:#: {
    hload stream stream
    .hdel -w stream $chan $+ ;moderators;*
    var %modlist = $gettok($1-,2,58)
    var %modcount = $numtok($gettok($1-,2,58),44)
    var %i = 1
    while ( %i <= %modcount ) {
      var %modname = $mid($gettok(%modlist,%i,44),2)
      .hadd stream $chan $+ ;moderators; $+ %modname %modname

      inc %i
    }
    set %broadcaster $right($chan,-1)
    .hadd stream $chan $+ ;moderators; $+ %broadcaster %broadcaster
    hsave -o stream stream
  
}

but now there is the following line in the list (couldnt format as code since $+ was removed then):

$chan
$+ ;moderators; $+ %modname %modname

anyways the broadcaster is now in the list

edit: code updated to fit the new output via NOTICE
Edit: removed if nick ( not needed anymore )
Working on a security thing to prevent setting mods on NOTICE send by a user via irc (hacking)