diff --git a/lib/irb.rb b/lib/irb.rb
index bdf14f4170..2b3c85a348 100644
--- a/lib/irb.rb
+++ b/lib/irb.rb
@@ -400,7 +400,7 @@ module IRB
irb.run(@CONF)
end
- # Calls each event hook of IRB.conf[:TA_EXIT] when the current session quits.
+ # Calls each event hook of IRB.conf[:AT_EXIT] when the current session quits.
def IRB.irb_at_exit
@CONF[:AT_EXIT].each{|hook| hook.call}
end