-static int m_cmessage(int, const char *, struct Client *, struct Client *, int, const char **);
-static int m_cprivmsg(struct Client *, struct Client *, int, const char **);
-static int m_cnotice(struct Client *, struct Client *, int, const char **);
+static int m_cmessage(int, const char *, struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static int m_cprivmsg(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static int m_cnotice(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+
+static int
+_modinit(void)
+{
+ add_isupport("CPRIVMSG", isupport_string, "");
+ add_isupport("CNOTICE", isupport_string, "");
+
+ return 0;
+}
+
+static void
+_moddeinit(void)
+{
+ delete_isupport("CPRIVMSG");
+ delete_isupport("CNOTICE");
+}