]> jfr.im git - solanum.git/blobdiff - modules/m_oper.c
s_user: clean up return types and can YES/NO.
[solanum.git] / modules / m_oper.c
index cf256b6e2c29512db674aff9d320e7570de9eec4..9ec15a5e075248f80ea0d827f888af3ebd277c49 100644 (file)
@@ -20,8 +20,6 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
- *
- *  $Id: m_oper.c 1483 2006-05-27 18:58:12Z jilles $
  */
 
 #include "stdinc.h"
@@ -49,7 +47,10 @@ struct Message oper_msgtab = {
 };
 
 mapi_clist_av1 oper_clist[] = { &oper_msgtab, NULL };
-DECLARE_MODULE_AV1(oper, NULL, NULL, oper_clist, NULL, NULL, "$Revision: 1483 $");
+
+static const char oper_desc[] = "Provides the OPER command to become an IRC operator";
+
+DECLARE_MODULE_AV2(oper, NULL, NULL, oper_clist, NULL, NULL, NULL, NULL, oper_desc);
 
 static int match_oper_password(const char *password, struct oper_conf *oper_p);