]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
m_webirc: use rb_crypt() instead of crypt()
authorJilles Tjoelker <redacted>
Sat, 13 Dec 2008 10:49:28 +0000 (11:49 +0100)
committerJilles Tjoelker <redacted>
Sat, 13 Dec 2008 10:49:28 +0000 (11:49 +0100)
extensions/m_webirc.c

index 584de67388af6d67f11e7c118deebebbeee7579f..1b5748e56cdcd4c0d286201be882427da226661b 100644 (file)
@@ -107,7 +107,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];