From c5d365dbfb38110edf11d70247e4aa61c7334f25 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Mon, 15 Oct 2012 19:40:25 +0000 Subject: Corrected a serious bug where calling the 'list_info' function without arguments erases all infotypes. --- src/core/info.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/core') diff --git a/src/core/info.cc b/src/core/info.cc index ee708e5..8e286dc 100644 --- a/src/core/info.cc +++ b/src/core/info.cc @@ -65,8 +65,6 @@ void InfoType::list() con_print << std::endl; } con_print << "^B " << infotype_registry.size() << " info types" << std::endl; - - infotype_registry.clear(); } -- cgit v1.2.3