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

Fixed over aggressive cut and no paste in m_oper

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

ChangeLog
ircd/m_oper.c

index fa16d2687a7672e9b6679932b613bff6ae5ed175..2a5a0914a436141a999731b53b31a5f45958b158 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2000-10-30  Isomer <isomer@coders.net>
+       * ircd/m_oper.c: Fixed over agressive cut and no paste
+
 2000-10-30  Isomer <isomer@coders.net>
 
        * ircd/m_topic.c: Restructured, fixed bug where topics on local
index 60156db6bf66ad245c5edd2ca38dfbfdcae3fd9b..b3d84e5375738beea5c6b9a4d3dd961611856756 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) {
-    encr = ircd_crypt(to_match, passwd);
+    char *encr = ircd_crypt(to_match, passwd);
     return (0 == strcmp(encr, passwd));
   }
   return 0;