]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/m_webirc.c
Add description for LOCOPS message.
[irc/rqf/shadowircd.git] / extensions / m_webirc.c
index 584de67388af6d67f11e7c118deebebbeee7579f..1b92ff018fc67e917805b7fef1d37a409190c302 100644 (file)
@@ -67,7 +67,6 @@ DECLARE_MODULE_AV1(webirc, NULL, NULL, webirc_clist, NULL, NULL, "$Revision: 207
 
 /*
  * mr_webirc - webirc message handler
- *      parv[0] = sender prefix
  *      parv[1] = password
  *      parv[2] = fake username (we ignore this)
  *     parv[3] = fake hostname 
@@ -107,7 +106,7 @@ mr_webirc(struct Client *client_p, struct Client *source_p, int parc, const char
        if (EmptyString(parv[1]))
                encr = "";
        else if (IsConfEncrypted(aconf))
-               encr = crypt(parv[1], aconf->passwd);
+               encr = rb_crypt(parv[1], aconf->passwd);
        else
                encr = parv[1];