ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/kgsueme/app.pl
(Generate patch)

Comparing kgsueme/kgsueme/app.pl (file contents):
Revision 1.2 by pcg, Fri Jul 25 03:50:33 2003 UTC vs.
Revision 1.3 by pcg, Wed Jul 30 02:14:21 2003 UTC

190} 190}
191 191
192sub open_user { 192sub open_user {
193 my ($self, %arg) = @_; 193 my ($self, %arg) = @_;
194 194
195 ($self->{user}{$arg{name}} ||= new user %arg, conn => $self->{conn}, app => $self) 195 ($self->{user}{lc $arg{name}} ||= new user %arg, conn => $self->{conn}, app => $self)
196 ->join; 196 ->join;
197 $self->{user}{$arg{name}}; 197 $self->{user}{lc $arg{name}};
198} 198}
199 199
200sub do_command { 200sub do_command {
201 my ($self, $chat, $cmd, $arg, %arg) = @_; 201 my ($self, $chat, $cmd, $arg, %arg) = @_;
202 202

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines