projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cae7832
)
Fixed bug with failed @su/@sd passwords breaking @program
author
Ari Johnson
<ari@cobramush.org>
Tue, 20 Feb 2007 21:40:26 +0000
(21:40 +0000)
committer
Ari Johnson
<ari@cobramush.org>
Tue, 20 Feb 2007 21:40:26 +0000
(21:40 +0000)
src/prog.c
patch
|
blob
|
history
diff --git
a/src/prog.c
b/src/prog.c
index a7b443a7ade79a474cd492743f80ecf67cfeb72d..65811f6d4bf26af6065ef13fafeff4b3464beb3c 100644
(file)
--- a/
src/prog.c
+++ b/
src/prog.c
@@
-521,6
+521,8
@@
password_handler(DESC * d, char *input)
queue_newwrite(d, (unsigned char *) "Invalid password.\r\n", 19);
do_log(LT_WIZ, d->player, d->pinfo.object, "** @SU FAIL **");
d->pinfo.object = NOTHING;
+ d->pinfo.function = NULL;
+ d->pinfo.lock = 0;
return 1;
}