[ScryMUD] SVN Commit Info r706 - branches/version-2-1/mud/grrmud/server
scrymud at wanfear.com
scrymud at wanfear.com
Mon Nov 22 20:28:23 PST 2004
Author: eroper
Date: 2004-11-22 20:28:23 -0800 (Mon, 22 Nov 2004)
New Revision: 706
Modified:
branches/version-2-1/mud/grrmud/server/BugEntry.cc
Log:
BUGFIX: web-#36
-[ Bug Content ]--------------------------------------------------------------
Even when you:
buglist assign ### name
the bug's state isn't updated. a chstate needs to be called from the
buglist::reassign in bugentries.cc
------------------------------------------------------------------------------
This patch was sent to me by Jaeger. I haven't tested it yes, though it
compiles cleanly. Once it's been tested I'll merge it over to the dev-line.
--Khaav
Modified: branches/version-2-1/mud/grrmud/server/BugEntry.cc
===================================================================
--- branches/version-2-1/mud/grrmud/server/BugEntry.cc 2004-11-21 21:05:29 UTC (rev 705)
+++ branches/version-2-1/mud/grrmud/server/BugEntry.cc 2004-11-23 04:28:23 UTC (rev 706)
@@ -714,9 +714,12 @@
BugEntry* be = getBugEntry(bug);
if (be) {
int retval = be->reAssign(new_name, imm_level, name);
- if (retval >= 0)
- notifyModified();
+ if (retval >= 0) {
+ changeState(bug, "assigned", imm_level, name);
+ notifyModified();
+ }
return retval;
+
}
return -EINVAL;
}
More information about the ScryMUD
mailing list