Dirty hack to allow 'penartur' to reply in closed threads

main
Inga 🏳‍🌈 15 years ago
parent 7dfe260d88
commit 2e529ff470
  1. 2
      Common/dataobjects/Post.cs

@ -201,7 +201,7 @@ namespace FLocal.Common.dataobjects {
} }
public Post Reply(User poster, string title, string body, PostLayer desiredLayer, DateTime date, int? forcedPostId) { public Post Reply(User poster, string title, string body, PostLayer desiredLayer, DateTime date, int? forcedPostId) {
if(this.thread.isLocked) { if(this.thread.isLocked && poster.name != "inga-lovinde") {
throw new FLocalException("thread locked"); throw new FLocalException("thread locked");
} }

Loading…
Cancel
Save