Author: Isomer <isomer@coders.net>
authorPerry Lorier <isomer@undernet.org>
Mon, 30 Oct 2000 22:54:10 +0000 (22:54 +0000)
committerPerry Lorier <isomer@undernet.org>
Mon, 30 Oct 2000 22:54:10 +0000 (22:54 +0000)
Log message:

Fixed the warning message everyone keeps reminding me about :)

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@305 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
ircd/m_oper.c

index 2a5a0914a436141a999731b53b31a5f45958b158..81f7ace8a5f946572de42a9c0b93cc3b60d4a846 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2000-10-30  Isomer <isomer@coders.net>
+       * ircd/m_oper.c: Fixed warning
+
 2000-10-30  Isomer <isomer@coders.net>
        * ircd/m_oper.c: Fixed over agressive cut and no paste
 
index b3d84e5375738beea5c6b9a4d3dd961611856756..fb624f01e34dcbe8a54998965a64bfdfc45f04d2 100644 (file)
@@ -118,7 +118,7 @@ int oper_password_match(const char* to_match, const char* passwd)
    * passwd may be NULL. Head it off at the pass...
    */
   if (to_match && passwd) {
-    char *encr = ircd_crypt(to_match, passwd);
+    const char *encr = ircd_crypt(to_match, passwd);
     return (0 == strcmp(encr, passwd));
   }
   return 0;