mirror of
				https://github.com/pragma-/pbot.git
				synced 2025-11-04 08:37:24 +01:00 
			
		
		
		
	Plugins/Date.pm: oops, use $arguments too
This commit is contained in:
		
							parent
							
								
									7ba505faf5
								
							
						
					
					
						commit
						b66596d9ed
					
				@ -42,6 +42,7 @@ sub datecmd {
 | 
			
		||||
  my $timezone = $self->{pbot}->{registry}->get_value('date', 'default_timezone') // 'UTC';
 | 
			
		||||
  my $tz_override = $self->{pbot}->{users}->get_loggedin_user_metadata($from, "$nick!$user\@$host", 'timezone');
 | 
			
		||||
  $timezone = $tz_override if $tz_override;
 | 
			
		||||
  $timezone = $arguments if length $arguments;
 | 
			
		||||
 | 
			
		||||
  my $newstuff = {
 | 
			
		||||
    from => $from, nick => $nick, user => $user, host => $host,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user