]> jfr.im git - solanum.git/blobdiff - modules/m_snote.c
m_stats: kill O(n) lookup on stats.
[solanum.git] / modules / m_snote.c
index 06a071dcf44ee6119d1e6e9e9d6d93a7eafa4a80..9d92a00b953a46c6d65010f01bdc57e5efe7165b 100644 (file)
@@ -27,8 +27,6 @@
  *  STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
  *  IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  *  POSSIBILITY OF SUCH DAMAGE.
- *
- *  $Id: m_snote.c 623 2006-01-29 13:47:35Z jilles $
  */
 
 #include "stdinc.h"
 #include "modules.h"
 
 static int me_snote(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static const char snote_desc[] = "Provides server notices via the SNOTE command";
 
 struct Message snote_msgtab = {
-       "SNOTE", 0, 0, 0, MFLG_SLOW,
+       "SNOTE", 0, 0, 0, 0,
        {mg_ignore, mg_not_oper, mg_ignore, mg_ignore, {me_snote, 3}, mg_ignore}
 };
 
 mapi_clist_av1 snote_clist[] = { &snote_msgtab, NULL };
-DECLARE_MODULE_AV1(snote, NULL, NULL, snote_clist, NULL, NULL, "$Revision: 623 $");
+DECLARE_MODULE_AV2(snote, NULL, NULL, snote_clist, NULL, NULL, NULL, NULL, snote_desc);
 
 /*
  * me_snote