I depends on the move. If Night Shade/ Curse were used, they're not super effective because they do fixed damage. Then there's status moves like Confuse Ray, while being Ghost type, don't inflict damage.
If it was, e.g., Shadow Ball that was used, then it would be a glitch if it didn't do super effective damage against a Kadabra.