mangos-one/server — comment on commit bd31a09d7cd402100bd035b0eafce92e520b693b
File: src/game/Totem.cpp line 195
By Nighoo:

this check needs to be *before* if (IsPeriodicRegenerateEffect(spellInfo, index)) at line 226,
IsPeriodicRegenerateEffect return true, since those spells do regenerate periodicly ...