summaryrefslogtreecommitdiff
path: root/DiscoBot/Commands/Gm.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DiscoBot/Commands/Gm.cs')
-rw-r--r--DiscoBot/Commands/Gm.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/DiscoBot/Commands/Gm.cs b/DiscoBot/Commands/Gm.cs
index b0d9def..af152fa 100644
--- a/DiscoBot/Commands/Gm.cs
+++ b/DiscoBot/Commands/Gm.cs
@@ -97,7 +97,7 @@
temp = erschwernis.ToString();
}
- res = le.get_LE_Text(name, waffe.Trim() + temp);
+ res = Dsa.Chars.OrderBy(x => SpellCorrect.CompareEasy(Dsa.Relation[this.Context.User.Username], x.Name)).First().get_LE_Text(waffe.Trim() + temp);
break;
case "ae":
@@ -111,7 +111,7 @@
temp = erschwernis.ToString();
}
- res = ae.get_AE_Text(name, waffe.Trim() + temp);
+ res = Dsa.Chars.OrderBy(x => SpellCorrect.CompareEasy(Dsa.Relation[this.Context.User.Username], x.Name)).First().get_AE_Text(waffe.Trim() + temp);
break;
default: