+
+void
+UserCommands::SetFloodRate(ServerConnection *cnx, Person *from,
+ String channel, String rest)
+{
+ Message m = Commands::SetFloodRate (cnx->bot, std::atoi (rest));
+ if (m.getCode ())
+ from->sendNotice (m.getMessage ());
+ else
+ from->sendNotice ("Flood Rate set to:" + String(std::atol(rest)));
+}
+