MOTD only shows last line

Bug #521241 reported by Waldo2k2
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IRC.NET
Fix Released
Medium
Alexander Regueiro
Trunk
Won't Fix
Medium
Alexander Regueiro

Bug Description

When processing the message of the day (ProcessMessageReplyMotd, numeric 372) the motdBuilder stringbuilder is cleared each time before AppendLine is called. So the effect is that the only line available is the last.

Since this is a one-liner I'm not attaching a patch. As of trunk revision r12 the line is #694 in IrcClientMessageProcessing.cs. The method is ProcessMessageReplyMotd. Delete the line: this.motdBuilder.Clear().

Tags: irc protocol

Related branches

Revision history for this message
Alexander Regueiro (alexreg) wrote :

Thanks for the report; this is indeed a bug. The call to `motdBuilder.Clear()` was actually meant to be in the ProcessMessageReplyMotdStart method, which is where I have now moved it.

Changed in ircdotnet:
assignee: nobody → Noldorin (noldorin)
status: New → Confirmed
importance: Undecided → Medium
tags: added: irc protocol
Revision history for this message
Alexander Regueiro (alexreg) wrote :

inappropiate target

Changed in ircdotnet:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.