title: 'end' expected (to close 'function' at line 1) near '<eof>'
body: <p>I get this error</p>
  
  <pre><code>[ERROR] lua/autorun/donor_guns.lua:4: 'end' expected (to close 'function' at line 1) near '&lt;eof&gt;'
  </code></pre>
  
  <p>1. unknown - lua/autorun/donor_guns.lua:0</p>
  
  <p>when running this script</p>
  
  <pre><code>hook.Add( "PreDrawViewModel", "ReplaceCrowbar", function( vm, ply, weapon )
  if ( ply:GetNWString( "usergroup" ) == "donor" and weapon = "weapon_ttt_caliburn" then
  vm:SetModel( "models/tiggomods/weapons/SATBK/v_Caliburn.mdl" )
  end 
  </code></pre>
  
  <p>any help?</p>