diff --git a/game/modules/tome/data/quests/antimagic.lua b/game/modules/tome/data/quests/antimagic.lua
index 81806409c8049e2bc740eb5de3e3c4589ad0d5a2..7f46dc6ff570a4af83d19978db627d4df9b686ba 100644
--- a/game/modules/tome/data/quests/antimagic.lua
+++ b/game/modules/tome/data/quests/antimagic.lua
@@ -33,7 +33,7 @@ on_status_change = function(self, who, status, sub)
 		who:setQuestStatus(self.id, engine.Quest.DONE)
 		local p = game.party:findMember{main=true}
 		p:attr("forbid_arcane", 1)
-		if p:knowTalentType("wild-gift/antimagic") ~= nil then
+		if p:knowTalentType("wild-gift/antimagic") == true then
 			p:setTalentTypeMastery("wild-gift/antimagic", p:getTalentTypeMastery("wild-gift/antimagic") + 0.1)
 		else
 			p:learnTalentType("wild-gift/antimagic", true)