--- smsdaemon/plugins/TogPlugin.cpp 2008/12/18 06:47:26 195 +++ smsdaemon/plugins/TogPlugin.cpp 2008/12/18 06:53:29 196 @@ -21,7 +21,7 @@ TogPlugin::TogPlugin() - : Plugin("tog", "Henter tog info fra bane.dk") + : Plugin("tog", "Henter tog info fra bane.dk") { _stationInfo["ar"] = StationInfo("AR","Århus"); _stationInfo["la"] = StationInfo("LG","Langå"); @@ -71,7 +71,7 @@ if (data == "") { modem.SendSms(sms.GetSender(), "Usage: tog \ntog list - liste over stationer", false); - return; + return; } if (data == "list") @@ -94,7 +94,7 @@ { infos = GetTrainInfo( code , "" ); } - catch(std::exception& e) + catch (std::exception& e) { modem.SendSms(sms.GetSender(), e.what(), false ); return;