I realize he's gone, but as a person who knows something about psychology, let me observe that telling someone you're smarter than they are is not always a sign of an inferiority complex. In fact, it's seldom a sign of an inferiority complex. It is much more likely--as in this case--to be a sign of frustration with someone showing off.