--- smsdaemon/plugins/SpamPlugin.cpp 2008/12/18 06:47:26 195 +++ smsdaemon/plugins/SpamPlugin.cpp 2008/12/18 06:53:29 196 @@ -12,7 +12,7 @@ SpamPlugin::SpamPlugin() -: Plugin("spam", "Sends a number of messages to a given phone nr") + : Plugin("spam", "Sends a number of messages to a given phone nr") { } @@ -28,7 +28,7 @@ modem.SendSms(sms.GetSender(), USAGE, false); return; } - + vector parts = Util::str_split(cmd," "); @@ -42,7 +42,7 @@ unsigned int count = atoi(parts[1].c_str()); if (count > 25) count = 25; - + ostringstream os; os << "Spamming " << nr << " " << count << " times."; Logger::logMessage(os.str());