Fixes brace style (#248)

This commit is contained in:
Kamron Batman 2020-09-13 21:49:46 -07:00 • committed by GitHub
parent a236617ad9
commit 8149620b0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1503 changed files with 28575 additions and 1717 deletions

View file

@ -17,7 +17,9 @@ namespace Server.Gumps
public override void OnCancel(Mobile from)
{
if (GuildGump.BadLeader(m_Mobile, m_Guild))
{
return;
}
GuildGump.EnsureClosed(m_Mobile);
m_Mobile.SendGump(new GuildmasterGump(m_Mobile, m_Guild));
@ -26,12 +28,16 @@ namespace Server.Gumps
public override void OnResponse(Mobile from, string text)
{
if (GuildGump.BadLeader(m_Mobile, m_Guild))
{
return;
}
text = text.Trim();
if (text.Length > 40)
{
text = text.Substring(0, 40);
}
if (text.Length > 0)
{