projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Author: Isomer <isomer@coders.net>
[ircu2.10.12-pk.git]
/
ircd
/
m_oper.c
diff --git
a/ircd/m_oper.c
b/ircd/m_oper.c
index b3d84e5375738beea5c6b9a4d3dd961611856756..fb624f01e34dcbe8a54998965a64bfdfc45f04d2 100644
(file)
--- a/
ircd/m_oper.c
+++ b/
ircd/m_oper.c
@@
-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);
+ c
onst c
har *encr = ircd_crypt(to_match, passwd);
return (0 == strcmp(encr, passwd));
}
return 0;