I checked out the repo, since the code paste is gone. I haven't tried forking SmartRes2 to use LibResInfo yet, but I might, time permitting. I am sure you know about this, but just in case. Line 400 reads
Lua Code:
function f:UNIT_SPELLCAST_STOPevent, (unit, spellName, _, _, spellID)
Shouldn't that read this instead?
Lua Code:
function f:UNIT_SPELLCAST_STOP(event, unit, spellName, _, _, spellID)